##// END OF EJS Templates
dirstate: make writing branch file out avoid ambiguity of file stat...
FUJIWARA Katsunori -
r29302:083e107a default
parent child Browse files
Show More
@@ -367,7 +367,7 b' class dirstate(object):'
367
367
368 def setbranch(self, branch):
368 def setbranch(self, branch):
369 self._branch = encoding.fromlocal(branch)
369 self._branch = encoding.fromlocal(branch)
370 f = self._opener('branch', 'w', atomictemp=True)
370 f = self._opener('branch', 'w', atomictemp=True, checkambig=True)
371 try:
371 try:
372 f.write(self._branch + '\n')
372 f.write(self._branch + '\n')
373 f.close()
373 f.close()
General Comments 0
You need to be logged in to leave comments. Login now