From e14cb0d30641037ef627e2c5308ad15c4a7b4341 Mon Sep 17 00:00:00 2001 From: Sean Farley Date: Mon, 9 Feb 2015 20:59:50 -0800 Subject: [PATCH] push: write distance --- remotenames.py | 1 + 1 file changed, 1 insertion(+) diff --git a/remotenames.py b/remotenames.py index 0ba5e2435b..1c5b446e5a 100644 --- a/remotenames.py +++ b/remotenames.py @@ -43,6 +43,7 @@ def expush(orig, repo, remote, *args, **kwargs): for branch, nodes in remote.branchmap().iteritems(): bmap[branch] = [n for n in nodes if not repo[n].obsolete()] saveremotenames(repo, path, bmap, remote.listkeys('bookmarks')) + writedistance(repo) except Exception, e: ui.debug('remote branches for path %s not saved: %s\n' % (path, e))