Cross Forests
/
projects
/
python
/
fast-export.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hg-fast-export.py: support older hg versions
[python/fast-export.git]
/
hg-fast-export.py
diff --git
a/hg-fast-export.py
b/hg-fast-export.py
index
37ade95
..
afcdc46
100755
(executable)
--- a/
hg-fast-export.py
+++ b/
hg-fast-export.py
@@
-272,7
+272,7
@@
def branchtip(repo, heads):
'''return the tipmost branch head in heads'''
tip = heads[-1]
for h in reversed(heads):
'''return the tipmost branch head in heads'''
tip = heads[-1]
for h in reversed(heads):
- if
not repo[h].closesbranch()
:
+ if
'close' not in repo.changelog.read(h)[5]
:
tip = h
break
return tip
tip = h
break
return tip