Show More
@@ -35,7 +35,7 b' def reposetup(ui, repo):' | |||||
35 | return orig.transaction(self, *args, **kwargs) |
|
35 | return orig.transaction(self, *args, **kwargs) | |
36 |
|
36 | |||
37 | # TODO(durin42): kiilerix had a commented-out lock check in |
|
37 | # TODO(durin42): kiilerix had a commented-out lock check in | |
38 | # writebranchcache and _writerequirements |
|
38 | # _writebranchcache and _writerequirements | |
39 |
|
39 | |||
40 | def _tag(self, *args, **kwargs): |
|
40 | def _tag(self, *args, **kwargs): | |
41 | _checklock(self) |
|
41 | _checklock(self) |
@@ -205,7 +205,7 b' def collapse(repo, first, last, commitop' | |||||
205 | - message |
|
205 | - message | |
206 | - date |
|
206 | - date | |
207 | - username |
|
207 | - username | |
208 |
|
|
208 | Commit message is edited in all cases. | |
209 |
|
209 | |||
210 | This function works in memory.""" |
|
210 | This function works in memory.""" | |
211 | ctxs = list(repo.set('%d::%d', first, last)) |
|
211 | ctxs = list(repo.set('%d::%d', first, last)) |
@@ -264,7 +264,7 b' def validdest(repo, old, new):' | |||||
264 | return True |
|
264 | return True | |
265 | elif repo.obsstore: |
|
265 | elif repo.obsstore: | |
266 | # We only need this complicated logic if there is obsolescence |
|
266 | # We only need this complicated logic if there is obsolescence | |
267 | # XXX will probably deserve an optimised rset. |
|
267 | # XXX will probably deserve an optimised revset. | |
268 |
|
268 | |||
269 | validdests = set([old]) |
|
269 | validdests = set([old]) | |
270 | plen = -1 |
|
270 | plen = -1 |
@@ -227,7 +227,7 b' def _hybridencode(path, dotencode):' | |||||
227 | characters are encoded as '~xx', where xx is the two digit hex code |
|
227 | characters are encoded as '~xx', where xx is the two digit hex code | |
228 | of the character (see encodefilename). |
|
228 | of the character (see encodefilename). | |
229 | Relevant path components consisting of Windows reserved filenames are |
|
229 | Relevant path components consisting of Windows reserved filenames are | |
230 | masked by encoding the third character ('aux' -> 'au~78', see auxencode). |
|
230 | masked by encoding the third character ('aux' -> 'au~78', see _auxencode). | |
231 |
|
231 | |||
232 | Hashed encoding (not reversible): |
|
232 | Hashed encoding (not reversible): | |
233 |
|
233 |
General Comments 0
You need to be logged in to leave comments.
Login now