Show More
@@ -1629,7 +1629,11 b' def perfnodemap(ui, repo, **opts):' | |||||
1629 | def setnodeget(): |
|
1629 | def setnodeget(): | |
1630 | # probably not necessary, but for good measure |
|
1630 | # probably not necessary, but for good measure | |
1631 | clearchangelog(unfi) |
|
1631 | clearchangelog(unfi) | |
1632 |
|
|
1632 | cl = makecl(unfi) | |
|
1633 | if util.safehasattr(cl.index, 'get_rev'): | |||
|
1634 | nodeget[0] = cl.index.get_rev | |||
|
1635 | else: | |||
|
1636 | nodeget[0] = cl.nodemap.get | |||
1633 |
|
1637 | |||
1634 | def d(): |
|
1638 | def d(): | |
1635 | get = nodeget[0] |
|
1639 | get = nodeget[0] |
General Comments 0
You need to be logged in to leave comments.
Login now