- Jun 25, 2013
-
-
Martin Geisler authored
Thanks to Timeless for flagging the extra newline.
-
Martin Geisler authored
Thanks to Timeless for flagging the missing format character.
-
- Jun 24, 2013
-
-
timeless authored
-
timeless authored
-
Martin Geisler authored
Thanks to Timeless for flagging the missing format character.
-
- Jun 29, 2013
-
-
Martin Geisler authored
Thanks to Timeless for flagging this.
-
- Jun 24, 2013
-
-
timeless authored
-
- Jun 23, 2013
-
-
timeless authored
They were added in the conversion done in 8ef2cd109dc6.
-
- Jun 24, 2013
-
-
timeless authored
They are added in the automatic conversion in e5b7841e0008.
-
- Jun 23, 2013
- Jun 26, 2013
-
-
Wagner Bruna authored
-
- Jun 20, 2013
-
-
Siddharth Agarwal authored
This makes it possible for long and short components to exist in the same path. This also makes shorter path components more likely. For randint(1, randint(1, n)), the likelihood that one sees a number k (1 <= k <= n) is 1/n * (\sum_{k=i}^n 1/i). This decreases with k, much like in the real world where shorter paths are more common than longer ones. The previous fix and this one together cause issue3958 to be detected by this test with reasonable frequency. When this test was run 100 times in a loop, the issue was detected 30 of those times.
-
Siddharth Agarwal authored
This allows path components of length 1 to be generated.
-
Siddharth Agarwal authored
The Python version of this (see mercurial/store.py:_hashencode) copies path components up to a limit of maxshortdirslen bytes. The Python version does not consider the initial "dh/" to be part of the this, though, while the C version currently does. Adding len("dh/") == 3 to the limit for the C version brings it in line with the Python version. This was not caught by the randomized testing scheme in test-pathencode.py because of a couple of flaws with the test. Upcoming patches will fix those problems.
-
Matt Mackall authored
Spotted by Eric S. Raymond.
-
- May 02, 2013
-
-
Iulian Stana authored
You can't close a branch that hasn't got a head. newbranch + commit --close-branch must fail newbranch + commit + commit --amend --close-branch must fail You must not be allowed to close a branch that is not defined.
-
- Jun 06, 2013
-
-
Jordi Gutiérrez Hermoso authored
We tell people all the time that enabling extensions is not a scary thing to do, but we don't make it easy enough for an absolute novice to do so. When they see a suggestion to do "hg extfoo bar", the error message tells them "see hg help extensions", but that help page doesn't actually tell them where configuration files are. Furthermore, the big warning about why extensions aren't enabled by default should be pushed down a little bit. Most of the extensions shipped by hg are not all that scary, and some very basic and useful cosmetic extensions like graphlog, color, pager, and progress, should be enabled for many hg users.
-
Jordi Gutiérrez Hermoso authored
While we do use the abbreviation "config" elsewhere in the docs, the phrase "configuration file" is always written out in full, except in this location in phases.txt.
-
- Jun 05, 2013
-
-
Simon Heimberg authored
-
- Jun 01, 2013
-
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
- May 31, 2013
-
-
Katsunori FUJIWARA authored
-
- May 28, 2013
-
-
Wagner Bruna authored
-
Alexander Sauta authored
-
- May 27, 2013
-
-
Alexander Sauta authored
-
- May 30, 2013
-
-
Simon King authored
-
- May 23, 2013
-
-
Matt Mackall authored
-
- May 21, 2013
-
-
Wagner Bruna authored
-
- May 23, 2013
-
-
Matt Mackall authored
-
Durham Goode authored
In the tests some scripts call reposetup with the base ui instead of the one the extensions have modified. This causes an exception in blackbox.reposetup since it expected a method to be there. So I just check for it first. This only happened when the blackbox extension was enabled during tests.
-
Durham Goode authored
Previously the blackbox wrapped runcommand, but this failed to see the error codes that were created if an exception occurred. I moved that logging to now wrap _runcatch, so it can observe and log the actual error code (such as when a user ctrl+c's during a command). Updated the tests as well. Tested the change by running all the tests with the blackbox extension enabled and verifying nothing broke (aside from things that printed what extensions were enabeld). The progress tests are affected by calls to time.time() so they needed to be updated to pass.
-
- May 21, 2013
-
-
Matt Mackall authored
-
Alexander Sauta authored
-
- May 14, 2013
-
-
Nikolaj Sjujskij authored
-
Nikolaj Sjujskij authored
-
- May 12, 2013
-
-
Nikolaj Sjujskij authored
Recognize y(es) and (n)o as valid input, for user not to have to switch keyboard layout twice (`hg email -o ...` is Latin, whereas д(а)/н(ет) are not). Use capital Y/N letters in prompt, otherwise y could be mistaken for у, and n - for п.
-