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DH6oZqe0yzg5ogF4vFaoIgZDpBh2LZKuh6gwJtvA9jsFj5HVOzYDcllkgpaOTV1g/xKPo1EkLpt0W0vd/4vnjSKNo0fmOTvZzI9vCCXLlRSUhoboY6AFHN7XtL9gYWI0rj81p/WrnnQQ7Iv2YHS1KCLr765HW6mjREwFMLD9RrLLDQ0DWIyNuGq8/yrqoruAhidEE9ifITnNh38wVISdiPxORj3onZkAn7VbOWQnlJtYkynlk2t3HnHWfduLGc2G0BkLvg4YfEDsZBA+ssr+TspkZ1dVAq8kf4JKNR01sfjBF6Fj1zRPkoexV40/pPiW55ikfOI9LRHxRiOUyndLviIBv1Mbm90PZ89lT4OTMejD8hhb4omlVxH3HFv4j7TozuPFOuouH7ARRwbPFl/0ldPlESoGvFiyOrqNzlql+JvyLUSbg== |
@@ -202,3 +202,4 b' 59338f9561099de77c684c00f76507f11e46ebe8' | |||||
202 | ca3dca416f8d5863ca6f5a4a6a6bb835dcd5feeb 5.2 |
|
202 | ca3dca416f8d5863ca6f5a4a6a6bb835dcd5feeb 5.2 | |
203 | a50fecefa691c9b72a99e49aa6fe9dd13943c2bf 5.2.1 |
|
203 | a50fecefa691c9b72a99e49aa6fe9dd13943c2bf 5.2.1 | |
204 | b4c82b70418022e67cc0e69b1aa3c3aa43aa1d29 5.2.2 |
|
204 | b4c82b70418022e67cc0e69b1aa3c3aa43aa1d29 5.2.2 | |
|
205 | 84a0102c05c7852c8215ef6cf21d809927586b69 5.3rc0 |
@@ -103,7 +103,7 b' perform other post-fixing work. The supp' | |||||
103 | to the file content. Provides "$HG_REV" and "$HG_PATH" to identify the file, |
|
103 | to the file content. Provides "$HG_REV" and "$HG_PATH" to identify the file, | |
104 | and "$HG_METADATA" with a map of fixer names to metadata values from fixer |
|
104 | and "$HG_METADATA" with a map of fixer names to metadata values from fixer | |
105 | tools that affected the file. Fixer tools that didn't affect the file have a |
|
105 | tools that affected the file. Fixer tools that didn't affect the file have a | |
106 | valueof None. Only fixer tools that executed are present in the metadata. |
|
106 | value of None. Only fixer tools that executed are present in the metadata. | |
107 |
|
107 | |||
108 | "postfix" |
|
108 | "postfix" | |
109 | Run once after all files and revisions have been handled. Provides |
|
109 | Run once after all files and revisions have been handled. Provides | |
@@ -114,7 +114,7 b' perform other post-fixing work. The supp' | |||||
114 | executions that modified a file. This aggregates the same metadata |
|
114 | executions that modified a file. This aggregates the same metadata | |
115 | previously passed to the "postfixfile" hook. |
|
115 | previously passed to the "postfixfile" hook. | |
116 |
|
116 | |||
117 |
Fixer tools are run the |
|
117 | Fixer tools are run in the repository's root directory. This allows them to read | |
118 | configuration files from the working copy, or even write to the working copy. |
|
118 | configuration files from the working copy, or even write to the working copy. | |
119 | The working copy is not updated to match the revision being fixed. In fact, |
|
119 | The working copy is not updated to match the revision being fixed. In fact, | |
120 | several revisions may be fixed in parallel. Writes to the working copy are not |
|
120 | several revisions may be fixed in parallel. Writes to the working copy are not |
@@ -1199,7 +1199,16 b' def overridearchive(' | |||||
1199 | sub = ctx.workingsub(subpath) |
|
1199 | sub = ctx.workingsub(subpath) | |
1200 | submatch = matchmod.subdirmatcher(subpath, match) |
|
1200 | submatch = matchmod.subdirmatcher(subpath, match) | |
1201 | subprefix = prefix + subpath + b'/' |
|
1201 | subprefix = prefix + subpath + b'/' | |
1202 | with lfstatus(sub._repo): |
|
1202 | ||
|
1203 | # TODO: Only hgsubrepo instances have `_repo`, so figure out how to | |||
|
1204 | # infer and possibly set lfstatus in hgsubrepoarchive. That would | |||
|
1205 | # allow only hgsubrepos to set this, instead of the current scheme | |||
|
1206 | # where the parent sets this for the child. | |||
|
1207 | with ( | |||
|
1208 | util.safehasattr(sub, '_repo') | |||
|
1209 | and lfstatus(sub._repo) | |||
|
1210 | or util.nullcontextmanager() | |||
|
1211 | ): | |||
1203 | sub.archive(archiver, subprefix, submatch) |
|
1212 | sub.archive(archiver, subprefix, submatch) | |
1204 |
|
1213 | |||
1205 | archiver.done() |
|
1214 | archiver.done() | |
@@ -1257,7 +1266,15 b' def hgsubrepoarchive(orig, repo, archive' | |||||
1257 | sub = ctx.workingsub(subpath) |
|
1266 | sub = ctx.workingsub(subpath) | |
1258 | submatch = matchmod.subdirmatcher(subpath, match) |
|
1267 | submatch = matchmod.subdirmatcher(subpath, match) | |
1259 | subprefix = prefix + subpath + b'/' |
|
1268 | subprefix = prefix + subpath + b'/' | |
1260 | with lfstatus(sub._repo): |
|
1269 | # TODO: Only hgsubrepo instances have `_repo`, so figure out how to | |
|
1270 | # infer and possibly set lfstatus at the top of this function. That | |||
|
1271 | # would allow only hgsubrepos to set this, instead of the current scheme | |||
|
1272 | # where the parent sets this for the child. | |||
|
1273 | with ( | |||
|
1274 | util.safehasattr(sub, '_repo') | |||
|
1275 | and lfstatus(sub._repo) | |||
|
1276 | or util.nullcontextmanager() | |||
|
1277 | ): | |||
1261 | sub.archive(archiver, subprefix, submatch, decode) |
|
1278 | sub.archive(archiver, subprefix, submatch, decode) | |
1262 |
|
1279 | |||
1263 |
|
1280 |
@@ -80,7 +80,7 b' static PyObject *hashflags(line *l)' | |||||
80 | PyObject *hash = nodeof(l); |
|
80 | PyObject *hash = nodeof(l); | |
81 |
|
81 | |||
82 | /* 40 for hash, 1 for null byte, 1 for newline */ |
|
82 | /* 40 for hash, 1 for null byte, 1 for newline */ | |
83 | size_t hplen = plen + 42; |
|
83 | Py_ssize_t hplen = plen + 42; | |
84 | Py_ssize_t flen = l->len - hplen; |
|
84 | Py_ssize_t flen = l->len - hplen; | |
85 | PyObject *flags; |
|
85 | PyObject *flags; | |
86 | PyObject *tup; |
|
86 | PyObject *tup; | |
@@ -525,7 +525,7 b' static int lazymanifest_setitem(' | |||||
525 | PyObject *pyflags; |
|
525 | PyObject *pyflags; | |
526 | char *flags; |
|
526 | char *flags; | |
527 | Py_ssize_t flen; |
|
527 | Py_ssize_t flen; | |
528 | size_t dlen; |
|
528 | Py_ssize_t dlen; | |
529 | char *dest; |
|
529 | char *dest; | |
530 | int i; |
|
530 | int i; | |
531 | line new; |
|
531 | line new; |
@@ -5671,7 +5671,7 b' def push(ui, repo, dest=None, **opts):' | |||||
5671 |
|
5671 | |||
5672 | @command( |
|
5672 | @command( | |
5673 | b'recover', |
|
5673 | b'recover', | |
5674 | [(b'', b'verify', True, b"run `hg verify` after succesful recover"),], |
|
5674 | [(b'', b'verify', True, b"run `hg verify` after successful recover"),], | |
5675 | helpcategory=command.CATEGORY_MAINTENANCE, |
|
5675 | helpcategory=command.CATEGORY_MAINTENANCE, | |
5676 | ) |
|
5676 | ) | |
5677 | def recover(ui, repo, **opts): |
|
5677 | def recover(ui, repo, **opts): | |
@@ -5691,7 +5691,7 b' def recover(ui, repo, **opts):' | |||||
5691 | return hg.verify(repo) |
|
5691 | return hg.verify(repo) | |
5692 | else: |
|
5692 | else: | |
5693 | msg = _( |
|
5693 | msg = _( | |
5694 |
b"(verify step skipped, run |
|
5694 | b"(verify step skipped, run `hg verify` to check your " | |
5695 | b"repository content)\n" |
|
5695 | b"repository content)\n" | |
5696 | ) |
|
5696 | ) | |
5697 | ui.warn(msg) |
|
5697 | ui.warn(msg) |
@@ -24,6 +24,7 b' from . import (' | |||||
24 | encoding, |
|
24 | encoding, | |
25 | error, |
|
25 | error, | |
26 | patch as patchmod, |
|
26 | patch as patchmod, | |
|
27 | pycompat, | |||
27 | scmutil, |
|
28 | scmutil, | |
28 | util, |
|
29 | util, | |
29 | ) |
|
30 | ) | |
@@ -1113,7 +1114,7 b' class curseschunkselector(object):' | |||||
1113 | # strip \n, and convert control characters to ^[char] representation |
|
1114 | # strip \n, and convert control characters to ^[char] representation | |
1114 | text = re.sub( |
|
1115 | text = re.sub( | |
1115 | br'[\x00-\x08\x0a-\x1f]', |
|
1116 | br'[\x00-\x08\x0a-\x1f]', | |
1116 | lambda m: b'^' + chr(ord(m.group()) + 64), |
|
1117 | lambda m: b'^' + pycompat.sysbytes(chr(ord(m.group()) + 64)), | |
1117 | text.strip(b'\n'), |
|
1118 | text.strip(b'\n'), | |
1118 | ) |
|
1119 | ) | |
1119 |
|
1120 |
@@ -193,6 +193,7 b' class progbar(object):' | |||||
193 | if not self.printed or not self.lastprint or not shouldprint(self.ui): |
|
193 | if not self.printed or not self.lastprint or not shouldprint(self.ui): | |
194 | return |
|
194 | return | |
195 | self._writeerr(b'\r%s\r' % (b' ' * self.width())) |
|
195 | self._writeerr(b'\r%s\r' % (b' ' * self.width())) | |
|
196 | self._flusherr() | |||
196 | if self.printed: |
|
197 | if self.printed: | |
197 | # force immediate re-paint of progress bar |
|
198 | # force immediate re-paint of progress bar | |
198 | self.lastprint = 0 |
|
199 | self.lastprint = 0 |
1 | NO CONTENT: file copied from relnotes/next to relnotes/5.3 |
|
NO CONTENT: file copied from relnotes/next to relnotes/5.3 |
@@ -1,35 +1,14 b'' | |||||
1 | == New Features == |
|
1 | == New Features == | |
2 |
|
2 | |||
3 | * Windows will process hgrc files in %PROGRAMDATA%\Mercurial\hgrc.d. |
|
|||
4 |
|
||||
5 |
|
3 | |||
6 | == New Experimental Features == |
|
4 | == New Experimental Features == | |
7 |
|
5 | |||
8 |
|
6 | |||
9 | == Bug Fixes == |
|
7 | == Bug Fixes == | |
10 |
|
8 | |||
11 | * The `indent()` template function was documented to not indent empty lines, |
|
|||
12 | but it still indented the first line even if it was empty. It no longer does |
|
|||
13 | that. |
|
|||
14 |
|
9 | |||
15 | == Backwards Compatibility Changes == |
|
10 | == Backwards Compatibility Changes == | |
16 |
|
11 | |||
17 |
|
12 | |||
18 | == Internal API Changes == |
|
13 | == Internal API Changes == | |
19 |
|
14 | |||
20 | * Matcher instances no longer have a `explicitdir` property. Consider |
|
|||
21 | rewriting your code to use `repo.wvfs.isdir()` and/or |
|
|||
22 | `ctx.hasdir()` instead. Also, the `traversedir` property is now |
|
|||
23 | also called when only `explicitdir` used to be called. That may |
|
|||
24 | mean that you can simply remove the use of `explicitdir` if you |
|
|||
25 | were already using `traversedir`. |
|
|||
26 |
|
||||
27 | * The `revlog.nodemap` object have been merged into the `revlog.index` object. |
|
|||
28 | * `n in revlog.nodemap` becomes `revlog.index.has_node(n)`, |
|
|||
29 | * `revlog.nodemap[n]` becomes `revlog.index.rev(n)`, |
|
|||
30 | * `revlog.nodemap.get(n)` becomes `revlog.index.get_rev(n)`. |
|
|||
31 |
|
||||
32 | * `copies.duplicatecopies()` was renamed to |
|
|||
33 | `copies.graftcopies()`. Its arguments changed from revision numbers |
|
|||
34 | to context objects. It also lost its `repo` and `skip` arguments |
|
|||
35 | (they should no longer be needed). |
|
@@ -215,7 +215,7 b' Help text for fix.' | |||||
215 | to the file content. Provides "$HG_REV" and "$HG_PATH" to identify the file, |
|
215 | to the file content. Provides "$HG_REV" and "$HG_PATH" to identify the file, | |
216 | and "$HG_METADATA" with a map of fixer names to metadata values from fixer |
|
216 | and "$HG_METADATA" with a map of fixer names to metadata values from fixer | |
217 | tools that affected the file. Fixer tools that didn't affect the file have a |
|
217 | tools that affected the file. Fixer tools that didn't affect the file have a | |
218 | valueof None. Only fixer tools that executed are present in the metadata. |
|
218 | value of None. Only fixer tools that executed are present in the metadata. | |
219 |
|
219 | |||
220 | "postfix" |
|
220 | "postfix" | |
221 | Run once after all files and revisions have been handled. Provides |
|
221 | Run once after all files and revisions have been handled. Provides | |
@@ -226,7 +226,7 b' Help text for fix.' | |||||
226 | executions that modified a file. This aggregates the same metadata |
|
226 | executions that modified a file. This aggregates the same metadata | |
227 | previously passed to the "postfixfile" hook. |
|
227 | previously passed to the "postfixfile" hook. | |
228 |
|
228 | |||
229 |
Fixer tools are run the |
|
229 | Fixer tools are run in the repository's root directory. This allows them to | |
230 | read configuration files from the working copy, or even write to the working |
|
230 | read configuration files from the working copy, or even write to the working | |
231 | copy. The working copy is not updated to match the revision being fixed. In |
|
231 | copy. The working copy is not updated to match the revision being fixed. In | |
232 | fact, several revisions may be fixed in parallel. Writes to the working copy |
|
232 | fact, several revisions may be fixed in parallel. Writes to the working copy |
@@ -21,7 +21,7 b'' | |||||
21 | checking files |
|
21 | checking files | |
22 | checked 1 changesets with 1 changes to 1 files |
|
22 | checked 1 changesets with 1 changes to 1 files | |
23 |
|
23 | |||
24 |
recover, explicit |
|
24 | recover, explicit verify | |
25 |
|
25 | |||
26 | $ touch .hg/store/journal |
|
26 | $ touch .hg/store/journal | |
27 | $ hg ci -Am0 |
|
27 | $ hg ci -Am0 | |
@@ -45,7 +45,7 b' recover, no verify' | |||||
45 | [255] |
|
45 | [255] | |
46 | $ hg recover --no-verify |
|
46 | $ hg recover --no-verify | |
47 | rolling back interrupted transaction |
|
47 | rolling back interrupted transaction | |
48 |
(verify step skipped, run |
|
48 | (verify step skipped, run `hg verify` to check your repository content) | |
49 |
|
49 | |||
50 |
|
50 | |||
51 | Check that zero-size journals are correctly aborted: |
|
51 | Check that zero-size journals are correctly aborted: |
@@ -376,6 +376,15 b' archive subrepos' | |||||
376 | a |
|
376 | a | |
377 | s/g |
|
377 | s/g | |
378 |
|
378 | |||
|
379 | $ hg -R ../tc archive -S ../lf_archive.tgz --prefix '.' \ | |||
|
380 | > --config extensions.largefiles= 2>/dev/null | |||
|
381 | $ tar -tzf ../lf_archive.tgz | sort | grep -v pax_global_header | |||
|
382 | .hg_archival.txt | |||
|
383 | .hgsub | |||
|
384 | .hgsubstate | |||
|
385 | a | |||
|
386 | s/g | |||
|
387 | ||||
379 | create nested repo |
|
388 | create nested repo | |
380 |
|
389 | |||
381 | $ cd .. |
|
390 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now