Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
remote-helpers: avoid has_key
[gitweb.git]
/
contrib
/
remote-helpers
/
git-remote-hg
diff --git
a/contrib/remote-helpers/git-remote-hg
b/contrib/remote-helpers/git-remote-hg
index 548133121d23a328d76d68d058fd4fb14b60fb16..2cd199662632b1e9873adc32a5c201f42c27fcd2 100755
(executable)
--- a/
contrib/remote-helpers/git-remote-hg
+++ b/
contrib/remote-helpers/git-remote-hg
@@
-129,7
+129,7
@@
class Marks:
self.last_mark = mark
def is_marked(self, rev):
- return s
elf.marks.has_key(str(rev))
+ return s
tr(rev) in self.marks
def get_tip(self, branch):
return self.tips.get(branch, 0)