merge with stable

This commit is contained in:
Benoit Boissinot 2010-03-09 20:47:35 +01:00
commit 812d07b742
4 changed files with 8 additions and 0 deletions

View File

@ -564,6 +564,10 @@ def bundle(ui, repo, fname, dest=None, **opts):
revs, checkout = hg.addbranchrevs(repo, other, branches, revs)
o = repo.findoutgoing(other, force=opts.get('force'))
if not o:
ui.status(_("no changes found\n"))
return
if revs:
cg = repo.changegroupsubset(o, revs, 'bundle')
else:

View File

@ -133,6 +133,7 @@ ignore = [
# setuptools' pkg_resources.py expects "from __main__ import x" to
# raise ImportError if x not defined
'__main__',
'_ssl', # conditional imports in the stdlib, issue1964
]
def enable():

View File

@ -72,6 +72,8 @@ hg -R test bundle --base 2 -r tip test-bundle-branch1.hg
hg -R test bundle --base 2 -r 7 test-bundle-branch2.hg
hg -R test bundle --base 2 test-bundle-all.hg
hg -R test bundle --base 3 -r tip test-bundle-should-fail.hg
# empty bundle
hg -R test bundle --base 7 --base 8 test-bundle-empty.hg
# issue76 msg2163
hg -R test bundle --base 3 -r 3 -r 3 test-bundle-cset-3.hg

View File

@ -162,6 +162,7 @@ abort: repository default-push not found!
4 changesets found
6 changesets found
1 changesets found
no changes found
1 changesets found
4 changesets found
updating to branch default