mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
merge with stable
This commit is contained in:
commit
73968a1cf2
@ -442,9 +442,12 @@ def push(oldpush, ui, repo, dest=None, **opts):
|
||||
if b in repo._bookmarks:
|
||||
ui.status(_("exporting bookmark %s\n") % b)
|
||||
new = repo[b].hex()
|
||||
else:
|
||||
elif b in rb:
|
||||
ui.status(_("deleting remote bookmark %s\n") % b)
|
||||
new = '' # delete
|
||||
else:
|
||||
ui.warn(_('bookmark %s does not exist on the local or remote repository!\n') % b)
|
||||
return 2
|
||||
old = rb.get(b, '')
|
||||
r = other.pushkey('bookmarks', b, old, new)
|
||||
if not r:
|
||||
|
Loading…
Reference in New Issue
Block a user