Fri, 16 Mar 2007 22:48:23 -0300 util._matcher: remove superfluous variable
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Mar 2007 22:48:23 -0300] rev 4236
util._matcher: remove superfluous variable
Fri, 16 Mar 2007 22:48:22 -0300 add some more tests to hg locate
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Mar 2007 22:48:22 -0300] rev 4235
add some more tests to hg locate
Fri, 16 Mar 2007 22:48:21 -0300 make the output of test-locate more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Mar 2007 22:48:21 -0300] rev 4234
make the output of test-locate more readable
Fri, 16 Mar 2007 22:48:20 -0300 util._matcher: use "." as the root of empty {rel,}path patterns
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Mar 2007 22:48:20 -0300] rev 4233
util._matcher: use "." as the root of empty {rel,}path patterns Should fix issue332. Really.
Fri, 16 Mar 2007 00:45:18 -0300 Merge with crew-stable
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Mar 2007 00:45:18 -0300] rev 4232
Merge with crew-stable
Fri, 16 Mar 2007 00:22:59 -0300 avoid a traceback with hg branch newbranch; hg up
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Mar 2007 00:22:59 -0300] rev 4231
avoid a traceback with hg branch newbranch; hg up
Fri, 16 Mar 2007 00:22:58 -0300 Fix handling of paths when run outside the repo.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Mar 2007 00:22:58 -0300] rev 4230
Fix handling of paths when run outside the repo. The main problem was that dirstate.getcwd() returned just "", which was interpreted as "we're at the repo root". It now returns an absolute path. The util.pathto function was also changed to deal with the "cwd is an absolute path" case.
Fri, 16 Mar 2007 00:22:57 -0300 pass repo.root to util.pathto() in preparation for the next patch
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Mar 2007 00:22:57 -0300] rev 4229
pass repo.root to util.pathto() in preparation for the next patch
Fri, 16 Mar 2007 00:22:55 -0300 hgweb: handle IOErrors and OSErrors during unbundle
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Mar 2007 00:22:55 -0300] rev 4228
hgweb: handle IOErrors and OSErrors during unbundle This allows the client to display a reasonable message to the user (e.g. "Permission denied: .hg/lock"), instead of the current "<url> does not appear to be an hg repository".
Sun, 22 Oct 2006 13:54:43 -0300 hgweb.unbundle: call req.httphdr only after the last possible call to bail
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sun, 22 Oct 2006 13:54:43 -0300] rev 4227
hgweb.unbundle: call req.httphdr only after the last possible call to bail
Fri, 16 Mar 2007 00:22:53 -0300 Work around a urllib2 bug in Python < 2.4.2
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Mar 2007 00:22:53 -0300] rev 4226
Work around a urllib2 bug in Python < 2.4.2 When urllib2 base64-encodes the password needed for the Proxy-authorization header, it forgets to remove the trailing "\n". Later, a "\r\n" sequence is appended to every header, as required by the standard. Some proxies interpret the resulting "\n\r\n" sequence in the same way as "\r\n\r\n": end of headers. This usually doesn't cause trouble for this request, but when the proxy tries to read the next one, it thinks the request starts with some garbage and returns a "400 - Bad Request" error.
Fri, 16 Mar 2007 00:22:52 -0300 Fix confusing message from hg revert (issue332)
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Mar 2007 00:22:52 -0300] rev 4225
Fix confusing message from hg revert (issue332) % mkdir sub1 % touch sub1/file1 % hg add sub1/ adding sub1/file1 % hg rev sub1 sub1: No such file in rev e4c586763258 forgetting sub1/file1
Thu, 15 Mar 2007 18:57:47 -0500 Merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 15 Mar 2007 18:57:47 -0500] rev 4224
Merge with stable
Thu, 15 Mar 2007 18:55:53 -0500 Merge with crew
Matt Mackall <mpm@selenic.com> [Thu, 15 Mar 2007 18:55:53 -0500] rev 4223
Merge with crew
Thu, 15 Mar 2007 18:38:46 -0500 revlog: attempt to gracefully handle some interleaved damage
Matt Mackall <mpm@selenic.com> [Thu, 15 Mar 2007 18:38:46 -0500] rev 4222
revlog: attempt to gracefully handle some interleaved damage
Thu, 15 Mar 2007 09:51:44 +0100 merge with crew-stable
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 15 Mar 2007 09:51:44 +0100] rev 4221
merge with crew-stable
Thu, 15 Mar 2007 09:49:45 +0100 Merge with hg-stable
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 15 Mar 2007 09:49:45 +0100] rev 4220
Merge with hg-stable
Wed, 14 Mar 2007 18:01:24 -0700 Merge with mpm
Brendan Cully <brendan@kublai.com> [Wed, 14 Mar 2007 18:01:24 -0700] rev 4219
Merge with mpm
Wed, 14 Mar 2007 19:17:40 -0500 Merge with -stable
Matt Mackall <mpm@selenic.com> [Wed, 14 Mar 2007 19:17:40 -0500] rev 4218
Merge with -stable
Wed, 14 Mar 2007 19:13:04 -0500 tags: add --remove
Matt Mackall <mpm@selenic.com> [Wed, 14 Mar 2007 19:13:04 -0500] rev 4217
tags: add --remove
Wed, 14 Mar 2007 18:49:10 -0500 tags: remove unused variables
Matt Mackall <mpm@selenic.com> [Wed, 14 Mar 2007 18:49:10 -0500] rev 4216
tags: remove unused variables
Wed, 14 Mar 2007 18:47:29 -0500 Make the tags algorithm smarter
Matt Mackall <mpm@selenic.com> [Wed, 14 Mar 2007 18:47:29 -0500] rev 4215
Make the tags algorithm smarter
Wed, 14 Mar 2007 16:40:47 -0500 Refactor tags code to prepare for improving the algorithm
Matt Mackall <mpm@selenic.com> [Wed, 14 Mar 2007 16:40:47 -0500] rev 4214
Refactor tags code to prepare for improving the algorithm
Wed, 14 Mar 2007 22:43:57 +0100 merge with crew-stable
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 14 Mar 2007 22:43:57 +0100] rev 4213
merge with crew-stable
Wed, 14 Mar 2007 22:38:40 +0100 Only hg repositories override [paths], not simple directories (fixes issue510)
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 14 Mar 2007 22:38:40 +0100] rev 4212
Only hg repositories override [paths], not simple directories (fixes issue510)
Wed, 14 Mar 2007 11:46:07 -0700 git-send-email compatibility: stop reading changelog after ^---$
Brendan Cully <brendan@kublai.com> [Wed, 14 Mar 2007 11:46:07 -0700] rev 4211
git-send-email compatibility: stop reading changelog after ^---$
Wed, 14 Mar 2007 10:45:18 -0700 mq: add qparent tag (first parent of qbase)
Brendan Cully <brendan@kublai.com> [Wed, 14 Mar 2007 10:45:18 -0700] rev 4210
mq: add qparent tag (first parent of qbase)
Wed, 14 Mar 2007 01:26:09 -0500 Merge with -stable, fix small test failure
Matt Mackall <mpm@selenic.com> [Wed, 14 Mar 2007 01:26:09 -0500] rev 4209
Merge with -stable, fix small test failure
Tue, 13 Mar 2007 18:53:23 -0500 Remove dummy branch hack from tests
Matt Mackall <mpm@selenic.com> [Tue, 13 Mar 2007 18:53:23 -0500] rev 4208
Remove dummy branch hack from tests
Tue, 13 Mar 2007 18:50:02 -0500 Move branch read/write to dirstate where it belongs
Matt Mackall <mpm@selenic.com> [Tue, 13 Mar 2007 18:50:02 -0500] rev 4207
Move branch read/write to dirstate where it belongs
Tue, 13 Mar 2007 15:47:55 -0500 Minor default branch cleanups
Matt Mackall <mpm@selenic.com> [Tue, 13 Mar 2007 15:47:55 -0500] rev 4206
Minor default branch cleanups
Tue, 13 Mar 2007 15:18:10 -0500 Move branches.cache to branch.cache
Matt Mackall <mpm@selenic.com> [Tue, 13 Mar 2007 15:18:10 -0500] rev 4205
Move branches.cache to branch.cache Keeps old clients from conflicting with new caches, makes features logic unnecessary.
Tue, 13 Mar 2007 15:02:33 -0300 "default" is the default branch name
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 13 Mar 2007 15:02:33 -0300] rev 4204
"default" is the default branch name
Tue, 13 Mar 2007 21:54:34 -0700 Make [PATCH] removal slightly more robust
Brendan Cully <brendan@kublai.com> [Tue, 13 Mar 2007 21:54:34 -0700] rev 4203
Make [PATCH] removal slightly more robust
Tue, 13 Mar 2007 21:50:42 -0700 Remove undo log after mq operations that rollback would break
Brendan Cully <brendan@kublai.com> [Tue, 13 Mar 2007 21:50:42 -0700] rev 4202
Remove undo log after mq operations that rollback would break
Tue, 13 Mar 2007 16:27:34 -0700 Refresh file size after partial qrefresh.
Brendan Cully <brendan@kublai.com> [Tue, 13 Mar 2007 16:27:34 -0700] rev 4201
Refresh file size after partial qrefresh. This makes a subsequent hg revert; hg status work.
Sun, 11 Mar 2007 14:21:09 -0700 Clarify update help text for update without an explicit revision
Brendan Cully <brendan@kublai.com> [Sun, 11 Mar 2007 14:21:09 -0700] rev 4200
Clarify update help text for update without an explicit revision
Mon, 12 Mar 2007 15:02:59 -0700 Improve hg branch -f help text
Brendan Cully <brendan@kublai.com> [Mon, 12 Mar 2007 15:02:59 -0700] rev 4199
Improve hg branch -f help text
Mon, 12 Mar 2007 14:50:19 -0700 Add test for branch shadowing
Brendan Cully <brendan@kublai.com> [Mon, 12 Mar 2007 14:50:19 -0700] rev 4198
Add test for branch shadowing
Mon, 12 Mar 2007 14:44:14 -0700 branch: require --force to shadow existing branches
Brendan Cully <brendan@kublai.com> [Mon, 12 Mar 2007 14:44:14 -0700] rev 4197
branch: require --force to shadow existing branches
Mon, 12 Mar 2007 13:58:06 -0700 Strip [PATCH...] from message subject when importing patches
Brendan Cully <brendan@kublai.com> [Mon, 12 Mar 2007 13:58:06 -0700] rev 4196
Strip [PATCH...] from message subject when importing patches
Sat, 10 Mar 2007 23:21:33 -0300 Merge a bunch of matcher and locate fixes.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:21:33 -0300] rev 4195
Merge a bunch of matcher and locate fixes.
Sat, 10 Mar 2007 23:01:02 -0300 Optimize return value of util._matcher for hgignore case
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:01:02 -0300] rev 4194
Optimize return value of util._matcher for hgignore case
Sat, 10 Mar 2007 23:01:00 -0300 Optimize return value of util._matcher for common command line case
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:01:00 -0300] rev 4193
Optimize return value of util._matcher for common command line case This will trigger every time somebody runs something like "hg diff" or "hg status" without any arguments. The important part here is returning util.always as the match function, which is a much simpler (and faster) function than the usual return value, and allows other code to just skip the filtering if it knows all files will match.
Sat, 10 Mar 2007 23:00:59 -0300 remove unused "head" hack from util._matcher
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:00:59 -0300] rev 4192
remove unused "head" hack from util._matcher
Sat, 10 Mar 2007 23:00:58 -0300 locate: exit(1) if we didn't print any file
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:00:58 -0300] rev 4191
locate: exit(1) if we didn't print any file
Sat, 10 Mar 2007 23:00:57 -0300 change locate to use relglobs by default
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:00:57 -0300] rev 4190
change locate to use relglobs by default This makes its default behaviour useful again (issue108), and changes it search the entire repository by default (instead of just the cwd), just like all other commands. It also hides issue204 by default, but you'll still see the same behaviour if you give it a relpath: pattern.
Sat, 10 Mar 2007 23:00:55 -0300 localrepo.walk: if we're walking a specific revision, sort the files
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:00:55 -0300] rev 4189
localrepo.walk: if we're walking a specific revision, sort the files This is more consistent with our behaviour while walking the working directory.
Sat, 10 Mar 2007 23:00:54 -0300 dirstate.statwalk: explicitly test for ignored directories
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:00:54 -0300] rev 4188
dirstate.statwalk: explicitly test for ignored directories This removes a hack where we appended '/' to a dirname so that: - it would not appear on the "dc" dict - it would always be matched by the match function This was a contorted way of checking if the directory was matched by some hgignore pattern, and it would still fail with some uses of --include/--exclude patterns. Things would still work fine if we removed the check altogether and just appended things to "work" directly, but then we would end up walking ignored directories too, which could be quite a bit of work. This allows further simplification of the match function returned by util._matcher, and fixes walking the working directory with a --include pattern that matches only the end of a name.
Sat, 10 Mar 2007 23:00:53 -0300 util._matcher: unify pattern normalization
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:00:53 -0300] rev 4187
util._matcher: unify pattern normalization This should fix issue347. It also highlights one issue with the directory walking code when you have an --include pattern that matches the end of a filename. This is fixed by the next patch.
Sat, 10 Mar 2007 23:00:52 -0300 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:00:52 -0300] rev 4186
make the output of test-walk more readable
Sat, 10 Mar 2007 23:00:51 -0300 util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:00:51 -0300] rev 4185
util.*matcher: change default "names" argument names=['.'] means "include (recursively) only files from the current subdir"; the function then did a hack to walk the whole tree. Clean that up. This also fixes a problem where "--include ." works in a subdir, but not on the tree root.
Sat, 10 Mar 2007 23:00:49 -0300 util._matcher: fix handling of path: patterns
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:00:49 -0300] rev 4184
util._matcher: fix handling of path: patterns
Sat, 10 Mar 2007 23:00:48 -0300 util._matcher: fix handling of relglob: patterns
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:00:48 -0300] rev 4183
util._matcher: fix handling of relglob: patterns
Sat, 10 Mar 2007 23:00:47 -0300 A 'glob:foo?bar' pattern determines a root - the tree root
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:00:47 -0300] rev 4182
A 'glob:foo?bar' pattern determines a root - the tree root
Sat, 10 Mar 2007 23:00:46 -0300 Leave normalization of patterns to util._matcher
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:00:46 -0300] rev 4181
Leave normalization of patterns to util._matcher Passing [] to util.cmdmatcher accidentally fixes walking of files with "\n" in the name.
Sat, 10 Mar 2007 23:00:45 -0300 util._matcher: update comments
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:00:45 -0300] rev 4180
util._matcher: update comments This should match the code better. Except for bugs...
Sat, 10 Mar 2007 23:00:43 -0300 remove obsolete code from patch.diff
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:00:43 -0300] rev 4179
remove obsolete code from patch.diff repo.status already does this filtering. If the caller supplies a set of changes, it's his responsibility to filter out what he doesn't want.
Sat, 10 Mar 2007 23:00:42 -0300 small globprefix fix
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 10 Mar 2007 23:00:42 -0300] rev 4178
small globprefix fix
Sat, 10 Mar 2007 17:45:32 -0800 Merge with crew-stable
Brendan Cully <brendan@kublai.com> [Sat, 10 Mar 2007 17:45:32 -0800] rev 4177
Merge with crew-stable
(0) -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 tip