##// END OF EJS Templates
workingctx: use node.wdirid constant
Yuya Nishihara -
r25738:04d26a3c default
parent child Browse files
Show More
@@ -5,7 +5,7 b''
5 # This software may be used and distributed according to the terms of the
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version.
6 # GNU General Public License version 2 or any later version.
7
7
8 from node import nullid, nullrev, short, hex, bin
8 from node import nullid, nullrev, wdirid, short, hex, bin
9 from i18n import _
9 from i18n import _
10 import mdiff, error, util, scmutil, subrepo, patch, encoding, phases
10 import mdiff, error, util, scmutil, subrepo, patch, encoding, phases
11 import match as matchmod
11 import match as matchmod
@@ -1339,7 +1339,7 b' class workingctx(committablectx):'
1339 return self._repo.dirstate[key] not in "?r"
1339 return self._repo.dirstate[key] not in "?r"
1340
1340
1341 def hex(self):
1341 def hex(self):
1342 return "ff" * 20
1342 return hex(wdirid)
1343
1343
1344 @propertycache
1344 @propertycache
1345 def _parents(self):
1345 def _parents(self):
General Comments 0
You need to be logged in to leave comments. Login now