[Bug 3731] New: `hg push` returns inconsistent exit codes for failed bookmarks
bugzilla-daemon at bz.selenic.com
bugzilla-daemon at bz.selenic.com
Tue Dec 11 19:54:26 UTC 2012
http://bz.selenic.com/show_bug.cgi?id=3731
Priority: normal
Bug ID: 3731
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: `hg push` returns inconsistent exit codes for failed
bookmarks
Severity: bug
Classification: Unclassified
OS: Mac OS
Reporter: kbullock+mercurial at ringworld.org
Hardware: PC
Status: UNCONFIRMED
Version: 2.4.1
Component: Mercurial
Product: Mercurial
There are two code paths for synching bookmarks on push: the one in
commands.push updates bookmarks explicitly given with --bookmark, whereas the
one in localrepo.localrepo.push updates bookmarks shared between repos. If the
former fails, it causes the push to return exit code 2; if the latter fails, no
special exit code is returned. They should return the same code.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list