diff options
-rwxr-xr-x | contrib/remote-helpers/git-remote-hg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg index bf5e5b473d..a9a1e8fa58 100755 --- a/contrib/remote-helpers/git-remote-hg +++ b/contrib/remote-helpers/git-remote-hg @@ -440,6 +440,8 @@ def list_head(repo, cur): head = cur node = repo['.'] if not node: + node = repo['tip'] + if not node: return if head == 'default': head = 'master' |