Show More
@@ -994,6 +994,10 b' def bundle(ui, repo, fname, dest=None, *' | |||||
994 | force=opts.get('force')) |
|
994 | force=opts.get('force')) | |
995 | cg = repo.getlocalbundle('bundle', outgoing) |
|
995 | cg = repo.getlocalbundle('bundle', outgoing) | |
996 | if not cg: |
|
996 | if not cg: | |
|
997 | if 'outgoing' in locals() and outgoing.excluded: | |||
|
998 | repo.ui.status(_("no changes found but %i secret changesets\n") | |||
|
999 | % len(outgoing.excluded)) | |||
|
1000 | else: | |||
997 | ui.status(_("no changes found\n")) |
|
1001 | ui.status(_("no changes found\n")) | |
998 | return 1 |
|
1002 | return 1 | |
999 |
|
1003 |
@@ -39,6 +39,15 b' Setting up test' | |||||
39 | $ cd .. |
|
39 | $ cd .. | |
40 | $ hg init empty |
|
40 | $ hg init empty | |
41 |
|
41 | |||
|
42 | Bundle and phase | |||
|
43 | ||||
|
44 | $ hg -R test phase --force --secret 0 | |||
|
45 | $ hg -R test bundle phase.hg empty | |||
|
46 | searching for changes | |||
|
47 | no changes found but 9 secret changesets | |||
|
48 | [1] | |||
|
49 | $ hg -R test phase --draft -r 'head()' | |||
|
50 | ||||
42 | Bundle --all |
|
51 | Bundle --all | |
43 |
|
52 | |||
44 | $ hg -R test bundle --all all.hg |
|
53 | $ hg -R test bundle --all all.hg |
General Comments 0
You need to be logged in to leave comments.
Login now