mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
push: write distance
This commit is contained in:
parent
61ae60e640
commit
e14cb0d306
@ -43,6 +43,7 @@ def expush(orig, repo, remote, *args, **kwargs):
|
|||||||
for branch, nodes in remote.branchmap().iteritems():
|
for branch, nodes in remote.branchmap().iteritems():
|
||||||
bmap[branch] = [n for n in nodes if not repo[n].obsolete()]
|
bmap[branch] = [n for n in nodes if not repo[n].obsolete()]
|
||||||
saveremotenames(repo, path, bmap, remote.listkeys('bookmarks'))
|
saveremotenames(repo, path, bmap, remote.listkeys('bookmarks'))
|
||||||
|
writedistance(repo)
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
ui.debug('remote branches for path %s not saved: %s\n'
|
ui.debug('remote branches for path %s not saved: %s\n'
|
||||||
% (path, e))
|
% (path, e))
|
||||||
|
Loading…
Reference in New Issue
Block a user