Steve Borho <steve@borho.org> [Tue, 28 Aug 2012 11:15:34 -0500] rev 17405
obsolete: import modules within mercurial/ without "from mercurial"
Adrian Buehlmann <adrian@cadifra.com> [Tue, 28 Aug 2012 20:57:11 +0200] rev 17404
test-hybridencode: add cases for com0..9 and lpt0..9
note that com0 and lpt0 are *not* encoded
Nikolaj Sjujskij <sterkrig@myopera.com> [Thu, 16 Aug 2012 19:04:27 +0400] rev 17403
zsh completion: tweak options for `incoming`, `outgoing` and `rebase`
* `incoming --rev` completes _hg_labels, not jsut tags;
* `outgoing --rev` completes revrange;
* source/dest/base for `rebase` require argument.
Nikolaj Sjujskij <sterkrig@myopera.com> [Thu, 16 Aug 2012 19:03:01 +0400] rev 17402
zsh completion: update mq commands completion
* add qclone command;
* qapplied/qunapplied: add --last/--first;
* qdiff: add all diff options;
* qfold: add --force, --no-backup;
* qgoto: add --keep-changes;
* qimport: add --git, --push;
* qnew: add user- and date-related options;
* qpop/qpush: add --keep-changes and --no-backup, drop --name;
* qpush: drop deprecated --merge;
* qrename: complete only unapplied patches' names;
* strip: add --rev, --keep, --bookmark, update descriptions, drop --backup.
Nikolaj Sjujskij <sterkrig@myopera.com> [Thu, 16 Aug 2012 19:03:01 +0400] rev 17401
zsh completion: add new options for existing commands
* backout: add --tool;
* bisect: add --extend;
* bookmarks: add --inactive;
* branches: add --closed;
* bundle: add --rev, --all, --branch;
* cat: add --decode;
* clone: add --updaterev, --branch, --pull and use common-with-qclone opts;
* commit: add --close-branch;
* diff: add --change, --reverse, --stat, --text, --unified;
* export: add --rev;
* grep: add --date;
* heads: add --topo, --closed;
* help: add --extension, --command, --keywords; complete additional help
topics also, not commands only;
* identify: add --bookmark and remote_opts;
* import: add --no-commit, --exact, --import-branch, --date, --user,
--similarity and commit options;
* log: add --user, --date, --stat, --git, --graph;
* manifest: add --rev;
* push: add --new-branch;
* resolve: add --all, --no-status, --tool and pattern options;
* revert: add --date;
* serve: add --prefix, --web-conf, --pid-file, --cmdserver, --certificate;
* status: add --change;
* tag: add --force, --edit, --remove;
* tip: add --git;
* update: add --check, --date.
Nikolaj Sjujskij <sterkrig@myopera.com> [Thu, 16 Aug 2012 19:03:01 +0400] rev 17400
zsh completion: add support for convert, graphlog, purge, record extensions
Nikolaj Sjujskij <sterkrig@myopera.com> [Thu, 16 Aug 2012 19:03:01 +0400] rev 17399
zsh completion: add subrepos options for all supporting commands
Nikolaj Sjujskij <sterkrig@myopera.com> [Thu, 16 Aug 2012 19:03:01 +0400] rev 17398
zsh completion: add new option groups for options
Add clone, date/user, git-style, merge tool, ignore space, log,
branch/bookmarks options and use them throughout command completions.
Nikolaj Sjujskij <sterkrig@myopera.com> [Thu, 16 Aug 2012 19:02:49 +0400] rev 17397
zsh completion: add `forget` and `rollback` commands
Nikolaj Sjujskij <sterkrig@myopera.com> [Thu, 16 Aug 2012 11:21:46 +0400] rev 17396
zsh completion: complete additional topics for `help`, not commands only
Patrick Mezard <patrick@mezard.eu> [Mon, 27 Aug 2012 21:10:11 +0200] rev 17395
Merge with stable
John Li <jli@circularly.org> [Mon, 27 Aug 2012 09:57:58 -0400] rev 17394
tests: merging bookmarked heads
45b5eb2941d0 fixed an error that occured when heads being merged were both
inactive bookmarks. Add a test for that case.
Matt Mackall <mpm@selenic.com> [Fri, 24 Aug 2012 17:51:47 -0500] rev 17393
merge with stable
Adrian Buehlmann <adrian@cadifra.com> [Mon, 06 Aug 2012 12:59:47 +0200] rev 17392
debuginstall: show directory for Python lib
Example new output
on Windows:
$ hg debuginstall
checking encoding (cp1252)...
checking Python lib (C:\Users\adi\hgrepos\hg-main\hg-python\lib)...
checking installed modules (C:\Users\adi\hgrepos\hg-main\mercurial)...
checking templates (C:\Users\adi\hgrepos\hg-main\mercurial\templates)...
checking commit editor...
C:\Program Files (x86)\Notepad++\notepad++.exe
checking username...
no problems detected
on Linux:
adi@kork-ubuntu64:~/hgrepos/hg-main$ ./hg debuginstall
checking encoding (UTF-8)...
checking Python lib (/usr/lib/python2.7)...
checking installed modules (/home/adi/hgrepos/hg-main/mercurial)...
checking templates (/home/adi/hgrepos/hg-main/mercurial/templates)...
checking commit editor...
checking username...
no problems detected
Ross Lagerwall <rosslagerwall@gmail.com> [Sat, 04 Aug 2012 07:14:40 +0200] rev 17391
util: replace util.nulldev with os.devnull
Python since 2.4 has supported os.devnull so having util.nulldev
is unnecessary.
Patrick Mezard <patrick@mezard.eu> [Sat, 04 Aug 2012 20:20:48 +0200] rev 17390
revset: add hidden() revset
Steve Borho <steve@borho.org> [Thu, 23 Aug 2012 18:19:19 -0500] rev 17389
wix: bump MSI based installers to use Python 2.7
We're somewhat forced to use Python 2.7 for the bdist packages, so we might
as well use 2.7 for the MSI installers as well.
Matt Mackall <mpm@selenic.com> [Fri, 24 Aug 2012 14:53:07 -0500] rev 17388
merge with stable
Matt Mackall <mpm@selenic.com> [Fri, 24 Aug 2012 14:52:45 -0500] rev 17387
tests: fix template test output
John Li <jli@circularly.org> [Wed, 22 Aug 2012 11:18:35 -0400] rev 17386
merge: handle case when heads are all bookmarks
If all heads are bookmarks, merge fails to find what node to merge
with (throws an IndexError while indexing into the non-bookmark heads
list) as of 4a02cf4fbb2e. This catches that case and prints an error
to specify a rev explicitly.
Patrick Mezard <patrick@mezard.eu> [Tue, 21 Aug 2012 20:51:16 +0200] rev 17385
verify: do not choke on valid changelog without manifest
Before this change:
$ hg init
$ hg branch foo
$ hg ci -m branchfoo
$ hg verify
checking changesets
checking manifests
0: empty or missing manifest
crosschecking files in changesets and manifests
checking files
0 files, 1 changesets, 0 total revisions
1 integrity errors encountered!
(first damaged changeset appears to be 0)
[1]
Bryan O'Sullivan <bryano@fb.com> [Tue, 21 Aug 2012 13:12:56 -0700] rev 17384
Merge
Neil Kodner <neilk@fb.com> [Fri, 17 Aug 2012 15:12:01 -0700] rev 17383
templater: abort when a template filter raises an exception (issue2987)
Matt Mackall <mpm@selenic.com> [Tue, 21 Aug 2012 12:27:57 -0500] rev 17382
merge with stable
Matt Mackall <mpm@selenic.com> [Tue, 21 Aug 2012 12:27:47 -0500] rev 17381
merge with i18n
Alexander Sauta <demosito@gmail.com> [Mon, 13 Aug 2012 16:09:35 +0400] rev 17380
i18n-ru: synchronized with c6f88e7f95b7
Matt Mackall <mpm@selenic.com> [Tue, 21 Aug 2012 12:26:53 -0500] rev 17379
merge heads in stable
Matt Mackall <mpm@selenic.com> [Fri, 17 Aug 2012 14:37:59 -0500] rev 17378
commit: normalize filenames when checking explicit files (issue3576)
Patrick Mezard <patrick@mezard.eu> [Sat, 18 Aug 2012 16:35:36 +0200] rev 17377
test-status.t: test ui.slash on Windows
Adrian Buehlmann <adrian@cadifra.com> [Thu, 16 Aug 2012 13:57:43 +0200] rev 17376
manifest: remove redundant sorted() call for --all
repo.store.datafiles() is now already sorted (for all types of stores).
A follow-up to 4cbb1137941d.
Bryan O'Sullivan <bryano@fb.com> [Wed, 15 Aug 2012 16:33:26 -0700] rev 17375
Merge from crew-stable
Bryan O'Sullivan <bryano@fb.com> [Wed, 15 Aug 2012 16:31:25 -0700] rev 17374
store: only one kind of OSError means "nonexistent entry"
Bryan O'Sullivan <bryano@fb.com> [Wed, 15 Aug 2012 16:30:32 -0700] rev 17373
store: sort the results of fncachestore.datafiles()
Patrick Mezard <patrick@mezard.eu> [Wed, 15 Aug 2012 23:03:40 +0200] rev 17372
Merge with stable
Patrick Mezard <patrick@mezard.eu> [Wed, 15 Aug 2012 22:50:23 +0200] rev 17371
fileset: fix generator vs list bug in fast path
$ hg debugfileset 'a or b'
would only return a or b but not both because the base file list was a
generator instead of a replayable sequence.
Patrick Mezard <patrick@mezard.eu> [Wed, 15 Aug 2012 22:28:32 +0200] rev 17370
debugfileset: implement --rev, more tests
Patrick Mezard <patrick@mezard.eu> [Wed, 15 Aug 2012 22:09:09 +0200] rev 17369
test-fileset: test remaining predicates
- exec
- symlink
- size
- resolved / unresolved
- subrepo
Patrick Mezard <patrick@mezard.eu> [Wed, 15 Aug 2012 19:25:45 +0200] rev 17368
fileset: do not traceback on invalid grep pattern
Patrick Mezard <patrick@mezard.eu> [Wed, 15 Aug 2012 22:29:32 +0200] rev 17367
fileset: matchctx.existing() must consider ignored files
When running:
$ hg debugfileset 'binary() and ignored()'
getfileset() was correctly retrieving ignored files but
matchctx.existing() was not taking them in account. Just add them along
with unknown files.
Patrick Mezard <patrick@mezard.eu> [Wed, 15 Aug 2012 22:29:09 +0200] rev 17366
fileset: matchctx.existing() must consider unknown files
By default, unknown files are ignored. If the 'unknown()' predicate
appears in the syntax tree, then they are taken in account.
Unfortunately, matchctx.existing() was filtering against non-deleted
context files, which does not include unknown files. So:
$ hg debugfileset 'binary() and unknown()'
would not return existing binary unknown files.
Patrick Mezard <patrick@mezard.eu> [Wed, 15 Aug 2012 21:44:00 +0200] rev 17365
fileset: exclude deleted files from matchctx.existing()
Running:
$ hg debugfileset 'binary()'
would traceback if there were one deleted file in the working directory.
It happened because matchctx.existing() was filtering files against the
ctx.__contains__() but deleted files are still considered part of
workingctx.
Patrick Mezard <patrick@mezard.eu> [Wed, 15 Aug 2012 18:04:50 +0200] rev 17364
test-fileset: test file status predicates
Patrick Mezard <patrick@mezard.eu> [Wed, 15 Aug 2012 19:02:04 +0200] rev 17363
fileset: actually implement 'minusset'
$ hg debugfileset 'a* - a1'
was tracing back because 'minus' symbol was not supported.
Patrick Mezard <patrick@mezard.eu> [Wed, 15 Aug 2012 17:39:03 +0200] rev 17362
tests: test filesets with test-fileset.t
Sune Foldager <cryo@cyanite.org> [Wed, 15 Aug 2012 12:12:21 +0200] rev 17361
merge with stable
Sune Foldager <cryo@cyanite.org> [Wed, 15 Aug 2012 12:04:50 +0200] rev 17360
rollback: write dirstate branch with correct encoding
Bryan O'Sullivan <bryano@fb.com> [Tue, 14 Aug 2012 08:12:09 -0700] rev 17359
Merge
Bryan O'Sullivan <bryano@fb.com> [Tue, 14 Aug 2012 08:11:15 -0700] rev 17358
templatekw: merge, preferring the second implementation
epriestley <hg@yghe.net> [Tue, 10 Jul 2012 08:43:32 -0700] rev 17357
templatekw: add p1rev, p1node, p2rev, p2node keywords
The {parents} template is cumbersome for some uses, as it does not show
anything if there's only one "natural" parent and you can't use it to get the
full 40 digit node hashes for parents unless you rely on the behavior of
the --debug flag.
Introduce four new template keywords: {p1rev}, {p2rev}, {p1node} and
{p2node}. The "node" flavors of these always show full 40 digit hashes,
but users can get the short version with a filter construction like
'{p1node|short}'.
Bryan O'Sullivan <bryano@fb.com> [Mon, 13 Aug 2012 14:04:52 -0700] rev 17356
parsers: fix an integer size warning issued by clang
epriestley <hg@yghe.net> [Tue, 10 Jul 2012 08:43:32 -0700] rev 17355
templatekw: add parent1, parent1node, parent2, parent2node keywords
The {parents} template is cumbersome for some uses, as it does not show
anything if there's only one "natural" parent and you can't use it to get the
full 40 digit node hashes for parents unless you rely on the behavior of
the --debug flag.
Introduce four new template keywords: {parent1}, {parent2}, {parent1node} and
{parent2node}. The "node" flavors of these always show full 40 digit hashes,
but users can get the short version with a filter construction like
'{parent1node|short}'.
Bryan O'Sullivan <bryano@fb.com> [Mon, 13 Aug 2012 11:49:55 -0700] rev 17354
Merge with crew-stable
sorcerer [Thu, 02 Aug 2012 19:10:45 +0400] rev 17353
revlog: don't try to partialmatch strings those length > 40
_partialmatch() does prefix matching against nodes. String passed
to _partialmetch() actualy may be any string, not prefix only.
For example,
"e410be8603932e46a51298748a4b874739037fad or 300" is a good
argument for _partialmatch().
When _partialmatch() searches using radix tree, index_partialmatch()
C function shouldn't try to match too long strings.
Matt Mackall <mpm@selenic.com> [Sat, 11 Aug 2012 12:45:53 -0500] rev 17352
merge with stable
Matt Mackall <mpm@selenic.com> [Sat, 11 Aug 2012 12:45:37 -0500] rev 17351
merge with i18n
Nikolaj Sjujskij <sterkrig@myopera.com> [Fri, 10 Aug 2012 15:42:15 +0400] rev 17350
i18n-ru: fix spelling of "missing" equivalent