Mercurial > hgsubversion
comparison tests/run.py @ 713:69c0e7c4faf9
clone: call the wrapped function (fixes #181)
This is a regression that was brought to my attention in #mercurial:
hgsubversion breaks the --update flag. The cause is that we call
hg.clone() directly rather than the original wrapped function. A
comment in 'wrapper.py' noted that the call to hg.clone() should be
kept in sync with 'mercurial/commands.py'. That didn't happen.
The original reason for calling hg.clone() directly was that we needed
its return values. Another wrapper is added (and cleared) within
clone() to get them anyway.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Wed, 29 Sep 2010 18:04:26 +0200 |
parents | e9306b23d323 |
children | e830b592917b |
comparison
equal
deleted
inserted
replaced
712:1041fb1bec8c | 713:69c0e7c4faf9 |
---|---|
25 import test_startrev | 25 import test_startrev |
26 import test_svnwrap | 26 import test_svnwrap |
27 import test_tags | 27 import test_tags |
28 import test_template_keywords | 28 import test_template_keywords |
29 import test_utility_commands | 29 import test_utility_commands |
30 import test_unaffected_core | |
30 import test_urls | 31 import test_urls |
31 | 32 |
32 sys.path.append(os.path.dirname(__file__)) | 33 sys.path.append(os.path.dirname(__file__)) |
33 sys.path.append(os.path.join(os.path.dirname(__file__), 'comprehensive')) | 34 sys.path.append(os.path.join(os.path.dirname(__file__), 'comprehensive')) |
34 | 35 |