- Oct 09, 2010
-
-
Brodie Rao authored
-
Adrian Buehlmann authored
The testsuite lacks a testcase for the bug introduced in 208fc9ad6a48. This patch amends 301d7626e0ff (which fixed 208fc9ad6a48) by adding a testcase for that bug. With 208fc9ad6a48, test-alias.t (as modified by this patch) fails with "hg tglog: invalid arguments".
-
Dan Villiom Podlaski Christiansen authored
-
Augie Fackler authored
-
Benjamin Pollack authored
-
- Oct 08, 2010
-
-
Martin Geisler authored
-
Martin Geisler authored
-
- Oct 09, 2010
-
-
Nicolas Dumazet authored
When path is too long to be an Unix socket address, we create a socket in a temporary directory and link from the long path to the shorter one. But checks in server code at startup were insufficient in this case, and used to raise an unclear "tried linking .hg/inotify.sock to a temporary socket but .hg/inotify.sock already exists"
-
- Oct 08, 2010
-
-
Nicolas Dumazet authored
-
- Oct 09, 2010
-
-
kiilerix authored
Long tmpdir names caused truncation of subject anyway, and that made $TESTTMP replacement fail.
-
kiilerix authored
-
kiilerix authored
Continued lines can also start with space. Note that this hack also incorrectly patches the diff output.
-
kiilerix authored
Previously no '# ' lines came through the parser. Now only the first '# ' lines are processed, from '# HG changeset patch' and to the first line not starting with '# '.
-
kiilerix authored
test-notify is made a bit more stable by stripping "all" folders away instead of just 3.
-
kiilerix authored
This reduces the number of patterns that must be adjusted when writing tests.
-
kiilerix authored
$HGTMP isn't needed - and if we need something like that then $TESTTMP is more appropriate.
-
kiilerix authored
These nice starts ended up being replaced with globs.
-
kiilerix authored
Many globs now just match $TESTTMP and is no longer needed.
-
kiilerix authored
This reduces the number of patterns that must be adjusted when writing tests.
-
Matt Mackall authored
-
- Oct 04, 2010
-
-
Brodie Rao authored
This ensures the repo config is read relative to the repo root during dispatch.
-
Brodie Rao authored
ui.readconfig() already handles IOError in this case.
-
Brodie Rao authored
-
- Oct 06, 2010
-
-
Eduard-Cristian Stefan authored
-
- Oct 08, 2010
-
-
Steve Losh authored
-
Brodie Rao authored
-
Christian Ebert authored
Obsoletes the need for a global recordcommands variable.
-
Christian Ebert authored
More safeguarding against accidental (un)expansion: Reading filelog: act only on \$(kw1|kw2|..)\$ as keywords are always stored unexpanded. Reading wdir: act only on \$(kw1|kw2|..): [^$\n\r]*? \$ as we only are interested in expanded keywords in this situation. Note: we cannot use ..): [^$\n\r]+? \$ because e.g. the {branch} template might be empty. hg record is a special case as we read from the working directory and need one regex each for modified and added files. Therefore test recording an added file. This way we finally also forbid sequences like $Id: $ being treated as keywords.
-
Christian Ebert authored
-
Christian Ebert authored
Simplifies kwfilelog.cmp() and avoids fiddling with/importing revlog. Reorder imports alphabetically.
-
Christian Ebert authored
Update iskwfile docstring.
-
Christian Ebert authored
copy/rename destinations being unversioned and possibly ignored by the extension should not contain expanded keywords. Files copied/renamed from an ignored source are not touched. Add tests covering both of the above cases, plus the corner case of cp symlink foo; hg cp -A symlink foo (where foo becomes a regular file).
-
Christian Ebert authored
Make kwexpand, kwshrink restricted commands - i.e. read from filelog without expansion for substition in kwtemplater.overwrite, and set/unset restricted mode for overwrite() in in kwcommitctx and the dorecord wrapper. Preselect candidates when working on changed files (rollback, record) outside kwtemplater class, and remove 6th argument from overwrite(). Avoid duplicate substitution/search in overwrite(): Only go into restricted read mode when reading from filelog. rollback and record read from the working directory, where restricted mode would already shrink keywords before overwrite() either expands or shrinks them again. This ensures that the usual automatic operations on keywords are turned off during overwrite() and only overwrite() itself acts on them. Reduce manifest calculation to the cases where it is needed. Move helper function for expansion removal outside kwtemplater class.
-
Benoit Boissinot authored
This makes parentdelta clone support pulling.
-
Benoit Boissinot authored
-
Benoit Boissinot authored
-
Patrick Mezard authored
-
Martin Geisler authored
-
Brodie Rao authored
The default revision for revsingle() is now '.' instead of None. This preserves the behavior of cat prior to it using revsingle().
-
- Oct 07, 2010
-
-
Matt Mackall authored
revsingle returns a context for the last revision of the supplied revspec
-