- Jun 04, 2012
-
-
Adrian Buehlmann authored
If it outputs a nonsense value, no harm done, it was nonsense to start with.
-
Adrian Buehlmann authored
-
- Jun 01, 2012
-
-
Adrian Buehlmann authored
-
- Jun 04, 2012
-
-
Nikolaj Sjujskij authored
Keyword search in help (introduced in 497deec204d1 and a17983680f12 by Augie Fackler) tries to translate already translated strings, which results in Unicode errors in gettext when non-ASCII locale is used. Also command descriptions should be translated before searching there (thanks to FUJIWARA Katsunori for pointing this out and actual fix), (issue3482).
-
- Jun 03, 2012
-
-
Adrian Buehlmann authored
If the no-msys exit at the beginning is removed, the test fails on Windows with MSYS with: --- C:\Users\adi\hgrepos\hg-main\tests\test-paths.t +++ C:\Users\adi\hgrepos\hg-main\tests\test-paths.t.err @@ -24,7 +24,7 @@ expand = $TESTTMP/a/foo/bar (glob) $ SOMETHING=/foo hg paths dupe = $TESTTMP/b (glob) - expand = /foo/bar + expand = c:/MinGW/msys/1.0/foo/bar $ hg paths -q dupe expand caused by http://www.mingw.org/wiki/Posix_path_conversion .
-
- Jun 01, 2012
-
-
kiilerix authored
This makes it possible to have conditional sections like: #if windows $ echo foo foo #else $ echo bar bar #endif The directives and skipped sections are treated like comments, so don't interleave them with commands and their output. The parameters to #if are evaluated while preparing the test by passing them over to hghave. Requirements can thus be negated with 'no-' prefix, and multiple requirements must all be true to return true.
-
- May 30, 2012
-
-
Adrian Buehlmann authored
For test input lines of *.t files starting with ' >>> ', the code block for ' >>> ' 609: if l.startswith(' >>> '): # python inlines 610: after.setdefault(pos, []).append(l) was (unsurprisingly) executed, but because there was an "if" instead of an "elif" on the condition "l.startswith(' ... ')", program execution proceeded to line 636 635: elif l.startswith(' '): # results 636: # queue up a list of expected results 637: expected.setdefault(pos, []).append(l[2:]) due to the fact that if l starts with ' >>> ' it also starts with ' '. The net effect was that python command lines in *.t files were (surprisingly) also added to the "expected" dict. This caused no externally observable bad behavior, as the "expected" dict was not consulted for these lines.
-
- Jun 03, 2012
-
-
Adrian Buehlmann authored
This may cause troubles in MSYS on Windows.
-
- May 25, 2012
-
-
Adrian Buehlmann authored
When developing, we may see non-standard version strings of the form 5d64306f39bb+20120525 which caused tuplever() to raise ValueError: invalid literal for int() with base 10: '5d64306f39bb' and shadowing the real traceback.
-
- May 24, 2012
-
-
Patrick Mézard authored
Caching has no performance effect on the revset aliases which triggered the recent recursive evaluation bug. I wrote it not to feel bad about expanding several times the same complicated expression.
-
- May 23, 2012
-
-
Adrian Buehlmann authored
-
- May 22, 2012
-
-
David Schleimer authored
Allows you to restrict a ssh key to have read-only access to a set of repos by passing the --read-only flag to hg-ssh. This is useful in an environment where the number of unix users you can or are willing to create is limited. In such an environment, multiple users or applications will share a single unix account. Some of those applications will likely need read-only access to the repository. This change makes it possible to grant them such access without requiring that they use a separate unix account.
-
- May 13, 2012
-
-
Levi Bard authored
-
- Jun 02, 2012
-
-
Bryan O'Sullivan authored
It turns out that Python 2.4's deque type is lacking a remove method. We can't implement remove in terms of find, because it doesn't have find either.
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
Moving from self.destroy to _rollback fixed rollback fixed rollback but broke mq. Move it lower rather than sideways.
-
Matt Mackall authored
-
- Jun 01, 2012
-
-
Matt Mackall authored
-
Matt Mackall authored
-
Wagner Bruna authored
-
Matt Mackall authored
This generally causes the entire node->rev table to get built when we're only interested in one node.
-
- May 30, 2012
-
-
Simon King authored
-
Simon King authored
-
Simon King authored
-
Simon King authored
-
Simon King authored
If the string provided to the 'tag' predicate starts with 're:', the rest of the string will be treated as a regular expression and matched against all tags in the repository. There is a slight backwards-compatibility problem for people who actually have tags that start with 're:'. As a workaround, these tags can be matched using a 'literal:' prefix. If no tags match the pattern, an error is raised. This matches the behaviour of the previous exact-match code.
-
Simon King authored
-
- Jun 01, 2012
-
-
Olav Reinert authored
-
Olav Reinert authored
-
Olav Reinert authored
-
Olav Reinert authored
-
Bryan O'Sullivan authored
-
Patrick Mézard authored
When applying a patch renaming/copying 'a' to 'b' on a revision where 'a' does not exist, the patching process would abort immediately, without processing the remaining hunks and without reporting it. This patch makes the patching no longer abort and possible hunks applied on the copied/renamed file be written in reject files.
-
- May 26, 2012
-
-
Christian Ebert authored
-
Christian Ebert authored
Expanding/shrinking happens outside the wrapped copy function; therefore write lock the repo.
-
Christian Ebert authored
Include a test as well.
-
- May 25, 2012
-
-
Christian Ebert authored
A more general descriptive name, as the attribute will be used for commit --amend as well.
-
- May 27, 2012
-
-
Adrian Buehlmann authored
-