equal
deleted
inserted
replaced
1022 return repo._bookmarkcurrent |
1022 return repo._bookmarkcurrent |
1023 |
1023 |
1024 ### dirstate compatibility layer < hg 3.6 |
1024 ### dirstate compatibility layer < hg 3.6 |
1025 |
1025 |
1026 def writedirstate(dirstate, tr): |
1026 def writedirstate(dirstate, tr): |
1027 if dirstate.write.func_defaults is not None: # mercurial 3.6 and above |
1027 if dirstate.write.func_code.co_argcount != 1: # mercurial 3.6 and above |
1028 return dirstate.write(tr) |
1028 return dirstate.write(tr) |
1029 return dirstate.write() |
1029 return dirstate.write() |
1030 |
1030 |
1031 |
1031 |
1032 |
1032 |