Show More
@@ -511,7 +511,11 b' def _outgoing(ui, repo, dest, opts):' | |||||
511 | force=opts.get('force')) |
|
511 | force=opts.get('force')) | |
512 | o = outgoing.missing |
|
512 | o = outgoing.missing | |
513 | if not o: |
|
513 | if not o: | |
514 | ui.status(_("no changes found\n")) |
|
514 | if outgoing.excluded: | |
|
515 | repo.ui.status(_("no outgoing changes but %i secret changesets\n") | |||
|
516 | % len(outgoing.excluded)) | |||
|
517 | else: | |||
|
518 | ui.status(_("no changes found\n")) | |||
515 | return None |
|
519 | return None | |
516 | return o |
|
520 | return o | |
517 |
|
521 |
@@ -399,6 +399,15 b' test outgoing' | |||||
399 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
399 | date: Thu Jan 01 00:00:00 1970 +0000 | |
400 | summary: 13 |
|
400 | summary: 13 | |
401 |
|
401 | |||
|
402 | test outgoing with secret changesets | |||
|
403 | ||||
|
404 | $ hg -R test-dev phase --force --secret 9 | |||
|
405 | $ hg -R test-dev outgoing test | |||
|
406 | comparing with test | |||
|
407 | searching for changes | |||
|
408 | no outgoing changes but 5 secret changesets | |||
|
409 | [1] | |||
|
410 | $ hg -R test-dev phase --draft -r 'head()' | |||
402 |
|
411 | |||
403 | limit to 3 changesets |
|
412 | limit to 3 changesets | |
404 |
|
413 |
General Comments 0
You need to be logged in to leave comments.
Login now