Thomas Arendsen Hein <thomas@intevation.de> [Thu, 14 Jun 2007 12:54:06 +0200] rev 4583
Reverted changesets 9d1380e5c8c5 and 1d46169ec197: show @ as glog parent again.
Repainted the bikeshed with its original color.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 14 Jun 2007 11:33:32 +0200] rev 4582
merge with main
Brendan Cully <brendan@kublai.com> [Wed, 13 Jun 2007 19:11:20 -0700] rev 4581
Merge with crew
Brendan Cully <brendan@kublai.com> [Wed, 13 Jun 2007 19:05:20 -0700] rev 4580
extensions: fix load of module/__init__.py on OS X
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 21:39:45 -0300] rev 4579
localrepo.status: only append stuff to the clean list if list_clean is true
This is consistent with dirstate.status.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 21:39:45 -0300] rev 4578
mq: reduce matcher abuse
The match function should match only the files we're interested in.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 19:15:58 -0300] rev 4577
commands.remove: don't use the unknown list
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 19:15:58 -0300] rev 4576
commands.commit: don't use the unknown list
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 19:15:58 -0300] rev 4575
localrepo.add: avoid some stats
There's still an extra lstat done by dirstate.update.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 19:15:58 -0300] rev 4574
revert: use util.lexists
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 19:15:58 -0300] rev 4573
addremove: use util.lexists
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 19:15:58 -0300] rev 4572
commands.commit: symlinks are supported
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 19:15:58 -0300] rev 4571
mq: grab locks before starting a transaction
Brendan Cully <brendan@kublai.com> [Wed, 13 Jun 2007 13:50:29 -0700] rev 4570
Merge with crew
Brendan Cully <brendan@kublai.com> [Wed, 13 Jun 2007 13:46:40 -0700] rev 4569
extensions: load modules in module/__init__.py form.
For example, convert=/path/to/convert now works.
Giorgos Keramidas <keramida@ceid.upatras.gr> [Wed, 13 Jun 2007 15:02:09 +0300] rev 4568
test-patchbomb: sed -e may not work with extended regexps
Non-GNU versions of the sed(1) utility (i.e. on Solaris or BSD)
may not support extended regexps (i.e. including \| branches),
or may need a special option to enable it (like -E instead of -e).
Expand the sed RE in tests/test-patchbomb to fix running this
test on FreeBSD and Solaris.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 13 Jun 2007 08:24:40 +0200] rev 4567
Correct tests/test-patchbomb* files:
mv test-patchbomb test-patchbomb.out
hg revert -r 1cf908c00479 test-patchbomb
Bryan O'Sullivan <bos@serpentine.com> [Tue, 12 Jun 2007 14:52:34 -0700] rev 4566
patchbomb: add --date option
Bryan O'Sullivan <bos@serpentine.com> [Tue, 12 Jun 2007 14:44:47 -0700] rev 4565
Don't validate email config if we're not sending email.
Bryan O'Sullivan <bos@serpentine.com> [Tue, 12 Jun 2007 14:39:36 -0700] rev 4564
patchbomb: 0c61124ad877 moved setremoteconfig into cmdutil
Brendan Cully <brendan@kublai.com> [Tue, 12 Jun 2007 13:21:42 -0700] rev 4563
dispatch: restore a dropped shlex import
Add test-dispatch as a place for command parsing and dispatch tests.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 12 Jun 2007 18:55:47 +0200] rev 4562
merge with main
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 12 Jun 2007 17:39:57 +0200] rev 4561
Revive commands.dispatch as a simple way to call hg from other pythons scripts.
This was already used by hg-ssh and others and is really convenient if you
just want a native equivalent of calling the command line version.
Matt Mackall <mpm@selenic.com> [Wed, 13 Jun 2007 13:15:53 -0500] rev 4560
extensions: fix lookup of hgext.foo modules
Matt Mackall <mpm@selenic.com> [Wed, 13 Jun 2007 13:15:51 -0500] rev 4559
localrepo: demand-load changeset, manifest, and dirstate
Matt Mackall <mpm@selenic.com> [Tue, 12 Jun 2007 10:34:54 -0500] rev 4558
extensions: add missing sys import
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4557
dispatch: accept an abbreviation of --repository
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4556
dispatch: move findrepo to cmdutil
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4555
localrepo: don't search from path
All current callers already pass in the repo root.
This normalizes things a bit. Now all repo types take a direct path to
repo root and only the command line interface (or the dispatcher)
searches from the current directory.
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4554
dispatch: use the repo path found by early parsing
This lets us simplify things a bit.
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4553
dispatch: parse and apply -R early
This allows us to use extensions specified in .hg/hgrc. Unfortunately,
this requires us to parse that file twice, but performance impact on
the version command appears to be less than 1%.
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4552
dispatch: parse and apply cwd opt early
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4551
dispatch: rename variables after code motion
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4550
dispatch: hoist debugging hook to runcatch
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4549
dispatch: move dispatching code to cmdutil
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4548
dispatch: move runcommand to cmdutil
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4547
dispatch: pull final command execution into its own function
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:23 -0500] rev 4546
dispatch: reduce nesting by moving parsing exceptions
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:23 -0500] rev 4545
dispatch: move signal and exception handling to its own function
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:23 -0500] rev 4544
Create a separate module for managing extensions
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:23 -0500] rev 4543
extensions: separate function for loading single extensions
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:23 -0500] rev 4542
dispatch: reorder functions
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:23 -0500] rev 4541
localrepo: break out the repo-finding walk into its own function
Brendan Cully <brendan@kublai.com> [Mon, 11 Jun 2007 12:14:31 -0700] rev 4540
Respect locale environment variables on darwin.
In python 2.4+ on darwin, locale.getpreferredencoding() returns
mac-roman regardless of what LC_CTYPE, LANG etc are set to. This can
produce hard-to-notice conversion errors if input text is not in
mac-roman. So this patch overrides it with setlocale/getlocale if the
environment has been customized, on the assumption that the user has
done so deliberately.
Brendan Cully <brendan@kublai.com> [Mon, 11 Jun 2007 11:06:42 -0700] rev 4539
Small cleanups for the new tag code
Josef "Jeff" Sipek <jeffpc@josefsipek.net> [Fri, 01 Jun 2007 19:56:39 -0400] rev 4538
gitweb: Display branch and tag labels
Pages which display labels:
- summary
- shortlog
- changelog
- changeset
- search
Brendan Cully <brendan@kublai.com> [Sun, 10 Jun 2007 21:05:01 -0700] rev 4537
Merge with mpm
Brendan Cully <brendan@kublai.com> [Sun, 10 Jun 2007 20:08:47 -0700] rev 4536
Split convert extension into common and repository type modules
Matt Mackall <mpm@selenic.com> [Sun, 10 Jun 2007 21:16:58 -0500] rev 4535
commit: fix bug where dirstate for removed file is confused
This fixes issue586
Matt Mackall <mpm@selenic.com> [Sun, 10 Jun 2007 19:16:20 -0500] rev 4534
hg serve: don't lookup user-supplied names/addresses
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 09 Jun 2007 13:25:54 +0200] rev 4533
Removed trailing \n in calls to util.Abort()
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 09 Jun 2007 13:17:58 +0200] rev 4532
Some small cleanups for convert extension:
- repo doesn't need to be imported
- util.Abort doesn't need \n
- space after comma
- long lines
- spacing
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 09 Jun 2007 01:04:28 -0300] rev 4531
Avoid extra filelogs entries.
Right now, there are some situations in which localrepo.filecommit can
create filelog entries even though they're not needed. For example:
- permissions for a file have changed;
- qrefresh can create a filelog entry identical to its parent (see the
added test);
- convert-repo creates extra filelog entries in every merge where the
first parent has added files (for example, changeset ebebe9577a1a of
the kernel repo added extra filelog entries to files in the
arch/blackfin directory, even though the merge should only touch the
drivers/ata directory). This makes "hg log file" in a converted repo
less useful than it could be, since it may mention many merges that
don't actually touch that specific file.
They all come from the same basic problem: localrepo.commit (through
filecommit) creates new filelog entries for all files passed to it
(except for some cases during a merge).
Patch and test case provided by Benoit.
This should fix issue351.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 09 Jun 2007 01:04:28 -0300] rev 4530
Make sure the changelog mentions files whose flags changed
These changes don't actually need a new filelog entry (see next patch),
but if we don't mention the files in the changelog, it becomes much
harder to find all changesets that touch a file (not even a
"hg log --removed file" will work).
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 08 Jun 2007 23:49:12 -0300] rev 4529
run-tests.py: set ui.slash = True
This should make things easier for pysh.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 08 Jun 2007 23:49:12 -0300] rev 4528
test-config-case: print only the Section we're interested in.
This allows us to add additional settings to the global hgrc file
created by run-tests.py without breaking this test.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 08 Jun 2007 23:49:12 -0300] rev 4527
Add ui.slash hgrc setting
This will make most commands print paths using "/", regardless of
the value of os.sep.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 08 Jun 2007 23:49:12 -0300] rev 4526
docopy: use repo.pathto to format paths for printing
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 08 Jun 2007 23:49:12 -0300] rev 4525
Add dirstate.pathto and localrepo.pathto.
Every time util.pathto is called, we have to pass the repo root and the
repo cwd.
dirstate.pathto is a simple convenience function that knows about the
root and the cwd arguments. It's still possible to pass the cwd as an
optimization.
localrepo.pathto is a convenience function that just calls
dirstate.pathto, just like localrepo.getcwd.
dirstate.pathto becomes a single point that converts most (all?) paths
from the internal representation to some OS-specific relative path for
display purposes.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 08 Jun 2007 23:49:12 -0300] rev 4524
Use absolute paths in revert.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 08 Jun 2007 23:49:12 -0300] rev 4523
Use absolute paths in docopy.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 08 Jun 2007 23:49:12 -0300] rev 4522
Use absolute paths in addremove.
This is more consistent with other places in the code, which only use
the "relpath" returned by cmdutil.walk for display purposes.
Edouard Gomez <ed.gomez@free.fr> [Thu, 07 Jun 2007 23:16:10 +0200] rev 4521
Add some more smart when initializing destination repository
Edouard Gomez <ed.gomez@free.fr> [Thu, 07 Jun 2007 23:06:17 +0200] rev 4520
Fix hgext/convert/__init__.py rights