Show More
@@ -1012,9 +1012,6 b' class localrepository(object):' | |||
|
1012 | 1012 | _("abandoned transaction found"), |
|
1013 | 1013 | hint=_("run 'hg recover' to clean up transaction")) |
|
1014 | 1014 | |
|
1015 | # make journal.dirstate contain in-memory changes at this point | |
|
1016 | self.dirstate.write(None) | |
|
1017 | ||
|
1018 | 1015 | idbase = "%.40f#%f" % (random.random(), time.time()) |
|
1019 | 1016 | txnid = 'TXN:' + util.sha1(idbase).hexdigest() |
|
1020 | 1017 | self.hook('pretxnopen', throw=True, txnname=desc, txnid=txnid) |
@@ -1099,8 +1096,7 b' class localrepository(object):' | |||
|
1099 | 1096 | return [(vfs, undoname(x)) for vfs, x in self._journalfiles()] |
|
1100 | 1097 | |
|
1101 | 1098 | def _writejournal(self, desc): |
|
1102 | self.vfs.write("journal.dirstate", | |
|
1103 | self.vfs.tryread("dirstate")) | |
|
1099 | self.dirstate.savebackup(None, prefix='journal.') | |
|
1104 | 1100 | self.vfs.write("journal.branch", |
|
1105 | 1101 | encoding.fromlocal(self.dirstate.branch())) |
|
1106 | 1102 | self.vfs.write("journal.desc", |
@@ -117,6 +117,7 b' group can still write everything' | |||
|
117 | 117 | 00660 ../push/.hg/cache/branch2-base |
|
118 | 118 | 00660 ../push/.hg/cache/rbc-names-v1 |
|
119 | 119 | 00660 ../push/.hg/cache/rbc-revs-v1 |
|
120 | 00660 ../push/.hg/dirstate | |
|
120 | 121 | 00660 ../push/.hg/requires |
|
121 | 122 | 00770 ../push/.hg/store/ |
|
122 | 123 | 00660 ../push/.hg/store/00changelog.i |
General Comments 0
You need to be logged in to leave comments.
Login now