##// END OF EJS Templates
branch: pass current transaction when writing branch for transaction backup...
marmoute -
r51160:240a04ce default
parent child Browse files
Show More
@@ -2675,7 +2675,7 class localrepository:
2675 ds = self.dirstate
2675 ds = self.dirstate
2676 if ds.branch() == b'default':
2676 if ds.branch() == b'default':
2677 # force a file to be written if None exist
2677 # force a file to be written if None exist
2678 ds.setbranch(b'default')
2678 ds.setbranch(b'default', None)
2679 # we cannot simply add "branch" to `all_file_names` because branch
2679 # we cannot simply add "branch" to `all_file_names` because branch
2680 # is written outside of the transaction control. So we need to
2680 # is written outside of the transaction control. So we need to
2681 # backup early.
2681 # backup early.
General Comments 0
You need to be logged in to leave comments. Login now