comparison notes.txt @ 47:45cc818f2445

Rollback is implemented
author mpm@selenic.com
date Tue, 10 May 2005 23:33:19 -0800
parents 9117c6561b0b
children 2bff7c0ea1d3
comparison
equal deleted inserted replaced
46:93e868fa0db8 47:45cc818f2445
116 to add them to our repository (though this optimization isn't 116 to add them to our repository (though this optimization isn't
117 necessary). 117 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
130 Mercurial currently supports pulling from "serverless" repositories. 129 Mercurial currently supports pulling from "serverless" repositories.
131 Simply making the repo directory accessibly via the web and pointing 130 Simply making the repo directory accessibly via the web and pointing