Show More
@@ -698,6 +698,9 b' def fixfile(ui, repo, opts, fixers, fixc' | |||
|
698 | 698 | command = fixer.command(ui, path, ranges) |
|
699 | 699 | if command is None: |
|
700 | 700 | continue |
|
701 | msg = b'fixing: %s - %s - %s\n' | |
|
702 | msg %= (fixctx, fixername, path) | |
|
703 | ui.debug(msg) | |
|
701 | 704 | ui.debug(b'subprocess: %s\n' % (command,)) |
|
702 | 705 | proc = subprocess.Popen( |
|
703 | 706 | procutil.tonativestr(command), |
@@ -7500,6 +7500,9 b' def tag(ui, repo, name1, *names, **opts)' | |||
|
7500 | 7500 | ) |
|
7501 | 7501 | node = logcmdutil.revsingle(repo, rev_).node() |
|
7502 | 7502 | |
|
7503 | if node is None: | |
|
7504 | raise error.InputError(_(b"cannot tag working directory")) | |
|
7505 | ||
|
7503 | 7506 | if not message: |
|
7504 | 7507 | # we don't translate commit messages |
|
7505 | 7508 | message = b'Added tag %s for changeset %s' % ( |
@@ -206,7 +206,7 b' class _httprequesthandler(httpservermod.' | |||
|
206 | 206 | env['SERVER_PROTOCOL'] = self.request_version |
|
207 | 207 | env['wsgi.version'] = (1, 0) |
|
208 | 208 | env['wsgi.url_scheme'] = pycompat.sysstr(self.url_scheme) |
|
209 |
if env.get('HTTP_EXPECT', |
|
|
209 | if env.get('HTTP_EXPECT', '').lower() == '100-continue': | |
|
210 | 210 | self.rfile = common.continuereader(self.rfile, self.wfile.write) |
|
211 | 211 | |
|
212 | 212 | env['wsgi.input'] = self.rfile |
@@ -1153,6 +1153,7 b' useful for anyone trying to set up a new' | |||
|
1153 | 1153 | $ hg commit -Aqm "foo" |
|
1154 | 1154 | $ printf "Foo\nbar\nBaz\n" > foo.changed |
|
1155 | 1155 | $ hg --debug fix --working-dir |
|
1156 | fixing: f65cf3136d41+ - uppercase-changed-lines - foo.changed | |
|
1156 | 1157 | subprocess: * $TESTTMP/uppercase.py 1-1 3-3 (glob) |
|
1157 | 1158 | |
|
1158 | 1159 | $ cd .. |
@@ -77,6 +77,11 b'' | |||
|
77 | 77 | n 644 2 * z (glob) |
|
78 | 78 | $ echo xxxx > x |
|
79 | 79 | $ echo yyyy > y |
|
80 | # run status early to avoid a flaky second fetch during commit. | |
|
81 | $ hg st | |
|
82 | M x | |
|
83 | M y | |
|
84 | \d+ files fetched over \d+ fetches .* (re) (?) | |
|
80 | 85 | $ hg commit -m x |
|
81 | 86 | created new head |
|
82 | 87 | 2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob) |
@@ -104,6 +109,9 b'' | |||
|
104 | 109 | new changesets fed61014d323 |
|
105 | 110 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
106 | 111 | |
|
112 | # run status early to avoid a flaky second fetch during commit | |
|
113 | $ hg status | |
|
114 | \d+ files fetched over \d+ fetches .* (re) (?) | |
|
107 | 115 |
$ |
|
108 | 116 | rebasing 1:9abfe7bca547 "a" |
|
109 | 117 | saved backup bundle to $TESTTMP/shallow/.hg/strip-backup/9abfe7bca547-8b11e5ff-rebase.hg (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now