diff options
Diffstat (limited to 'git-remote-hg.py')
-rwxr-xr-x | git-remote-hg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-remote-hg.py b/git-remote-hg.py index 402b92f61c..74f2a2e1fb 100755 --- a/git-remote-hg.py +++ b/git-remote-hg.py @@ -677,7 +677,7 @@ def do_list(parser): print "? refs/heads/branches/%s" % gitref(branch) for bmark in bmarks: - if bmarks[bmark].hex() == '0000000000000000000000000000000000000000': + if bmarks[bmark].hex() == '0' * 40: warn("Ignoring invalid bookmark '%s'", bmark) else: print "? refs/heads/%s" % gitref(bmark) |