Greg Ward
6e1d6aff0f
shrink-revlog: use util.mktempcopy() to preserve mode of index file.
...
(There's still a chmod() call to manually preserve the mode of the
data file.)
2010-06-03 10:18:33 -04:00
Matt Mackall
420e7ec722
revset: delay import of hg to avoid start-up import loops
2010-06-05 09:58:02 -05:00
Matt Mackall
476998d3a8
error: fix up test-hgrc
2010-06-04 23:04:31 -05:00
Matt Mackall
0625b02fef
error: update test-trusted.py
2010-06-04 23:00:22 -05:00
Matt Mackall
97e2d2bcdb
revset: fix test failure with qfinish
2010-06-04 22:54:43 -05:00
Matt Mackall
a963622643
revset: raise ParseError exceptions
2010-06-04 20:57:52 -05:00
Matt Mackall
969c51b3cf
error: add new ParseError for various parsing errors
2010-06-04 20:57:26 -05:00
Matt Mackall
13c76ff349
error: change ParseError to CommandError
2010-06-04 20:19:53 -05:00
Matt Mackall
3daed7cd59
hgrc: improve docs for the trusted section
2010-06-04 20:13:51 -05:00
Matt Mackall
ae637a04b0
rebase: use usual util.abort rather than error.ParseError
2010-06-04 17:22:33 -05:00
Matt Mackall
fd94af4829
revset: sort the predicate list
2010-06-04 10:27:23 -05:00
Matt Mackall
4fb1269ccb
revset: fix - handling in the optimizer
2010-06-04 10:26:55 -05:00
Matt Mackall
db01b4c21d
revset: fix up tests
2010-06-03 20:32:41 -05:00
Matt Mackall
5de34fa30a
walkchangerevs: allow empty query sets
2010-06-03 18:00:15 -05:00
Matt Mackall
8b6cd36757
revset: add tagged predicate
2010-06-03 17:39:40 -05:00
Matt Mackall
485a62ae68
revset: optimize the parse tree directly
...
Rather than dynamically optimize in methods, we pre-optimize the parse tree
directly. This also lets us do some substitution on some of the
symbols like - and ::.
2010-06-03 17:39:34 -05:00
Matt Mackall
96ee2ad35a
revset: add support for prefix and suffix versions of : and ::
2010-06-02 14:07:46 -05:00
Matt Mackall
959774dfd8
revset: hook into revrange
2010-06-01 11:18:57 -05:00
Matt Mackall
a1c4034fda
revset: add a debugrevspec command
2010-06-01 11:18:57 -05:00
Matt Mackall
c3f24aa62b
revset: introduce revset core
2010-06-01 11:18:57 -05:00
Matt Mackall
f9905b5aeb
revset: introduce basic parser
2010-06-01 11:18:57 -05:00
Matt Mackall
86ebd43d71
remoteui: move from cmdutil to hg
2010-06-01 11:18:57 -05:00
Henrik Stuart
0efeb97219
mq: better qqueue test for troublesome names
2010-06-03 21:38:30 +02:00
Cédric Duval
06eedc4b82
mq: prevent the creation of a queue whose name is already taken
...
Each check is moved under the code handling the relevant option, and
a new one is added for --create. This fixes duplicated entries being
added to the queues list.
2010-06-03 20:40:23 +02:00
Henrik Stuart
ac61fc4db1
mq: fix naming issues for qqueue directories
2010-06-02 19:39:45 +02:00
Martin Geisler
ae18c6a910
win32text: mark this extension as deprecated
2010-06-02 14:54:25 +02:00
Martin Geisler
e73685cb49
Merge with stable
2010-06-02 14:40:31 +02:00
Greg Ward
cb24398037
shrink-revlog: preserve mode of the shrunken index and data file.
...
Otherwise, the shrunken index file always has mode 0600 thanks to
mkstemp(). This is annoying on a server, where multiple users may need
to read/write the manifest. chmod()ing the data file is not strictly
necessary, but it's nice for consistency.
2010-06-01 18:29:52 -04:00
Matt Mackall
873e87c4b7
Added signature for changeset b3ef44e63f53
2010-06-01 10:54:03 -05:00
Matt Mackall
1dae641881
Merge with i18n
2010-06-01 10:44:03 -05:00
Wagner Bruna
bfaec5421b
i18n-pt_BR: synchronized with f679265e5b2b
2010-06-01 12:23:44 -03:00
Martin Geisler
d9fb8f71e1
eol: extension for managing file EOLs
2010-05-31 21:37:01 +02:00
Matt Mackall
e07de18aba
Merge with i18n
2010-05-31 12:57:24 -05:00
Adrian Buehlmann
5f0d937313
clone: save hardlink state of util.copyfiles()
...
When trying to do hardlink-cloning, the os_link() call of the
first file tried already fails on Windows, if the source is on a
UNC path.
This change avoids calling os_link() for the rest of files, leaving
us with a *single* failed os_link() call per clone operation, if the
source can't do hardlinks.
2010-05-28 17:28:34 +02:00
Adrian Buehlmann
ea134ddf29
util.copyfiles: don't try os_link() again if it failed before
...
If the os_link() call on the first file in the directory fails [1],
we switch mode to using shutil.copy() for all remaining files.
[1] happens for example on Windows for every file when cloning from a UNC
path without specifying --pull.
2010-05-28 17:28:34 +02:00
Wagner Bruna
45e771ab4e
i18n-pt_BR: added message from 98736083a916
2010-05-25 13:20:33 -03:00
Wagner Bruna
9346255b42
i18n-pt_BR: synchronized with 9ff3acbe1562
2010-05-22 11:22:36 -03:00
Martin Geisler
b064e04066
dispatch: include Python version in traceback
2010-05-21 13:40:59 +02:00
Aaron Digulla
db9d4ddfda
convert/svn: close gettags() log stream (issue2196)
2010-05-19 22:09:58 +02:00
Patrick Mezard
094ca2873a
convert/svn: remove useless try/catch
...
While the try/catch was reintroduced in 05a88417e1cb, it was made useless by
the tags/ existence check in getheads().
2010-05-19 22:04:41 +02:00
Javi Merino
9be85e950a
Fixed a bashism with the use of $RANDOM in hgeditor.
...
The variable $RANDOM is not POSIX so a portable /bin/sh may not define
it. When creating a directory with a random name it's better to use
mktemp, which, even though is not POSIX, exists in common Unixes
including Linux, OpenBSD, FreeBSD and MacOS X.
2010-05-19 18:06:35 +02:00
Alexander Solovyov
a6931a2129
churn: add possibility to include/exclude paths
2010-05-27 22:50:23 +03:00
Alexander Solovyov
06239f590d
churn: support spaces in aliases (issue2222)
2010-06-02 14:28:45 +02:00
Matt Mackall
cdb00115fd
Merge with stable
2010-06-01 10:55:11 -05:00
Matt Mackall
749aaeea46
Merge with i18n
2010-06-01 10:54:57 -05:00
Wagner Bruna
05a1528264
merge with i18n stable
2010-06-01 12:25:43 -03:00
Matt Mackall
830a5ce984
Merge with stable
2010-06-01 10:12:07 -05:00
Christian Ebert
8386b76841
keyword: retrieve added and modified files from commitctx
2010-06-01 03:45:10 +02:00
Christian Ebert
a2b0bda630
keyword: force dirstate normal when all changes in a file are recorded
...
Before this bugfix a file whose changes were entirely recorded was still
considered modified by "hg status".
Note: the test must use hg record -l/--logfile, because this is not
reproducible with hg record -m/--message.
2010-06-01 01:05:45 +02:00
Adrian Buehlmann
e782bd53a4
clone: print number of linked/copied files on --debug
2010-05-31 13:47:51 +02:00