##// END OF EJS Templates
Rollback is implemented
mpm@selenic.com -
r47:45cc818f default
parent child Browse files
Show More
@@ -118,12 +118,11 b' necessary).'
118
118
119 Rollback:
119 Rollback:
120
120
121 Rollback is not yet implemented, but will be easy to add. When
121 When performing a commit or a merge, we order things so that the
122 performing a commit or a merge, we order things so that the changeset
122 changeset entry gets added last. We keep a transaction log of the name
123 entry gets added last. We keep a transaction log of the name of each
123 of each file touched and its length prior to the transaction. On
124 file and its length prior to the transaction. On abort, we simply
124 abort, we simply truncate each file to its prior length. This is one
125 truncate each file to its prior length. This is one of the nice
125 of the nice properties of the append-only structure of the revlogs.
126 properties of the append-only structure of the revlogs.
127
126
128 Remote access:
127 Remote access:
129
128
General Comments 0
You need to be logged in to leave comments. Login now