sapling/mercurial/help
Matt Harbison 615b124547 cat: support cat with explicit paths in subrepos
The cat command with an explicit path into a subrepo is now handled by invoking
cat on the file, from that subrepo.  The previous behavior was to complain that
the file didn't exist in the revision (of the top most repo).  Now when the file
is actually missing, the revision of the subrepo is named instead (though it is
probably desirable to continue naming the top level repo).

The documented output formatters %d and %p reflect the path from the top level
repo, since the purpose of this is to give the illusion of a unified repository.
Support for the undocumented (for cat) formatters %H, %R, %h, %m and %r was
added long ago (I tested back as far as 0.5), but unfortunately these will
reflect the subrepo node instead of the parent context.

The previous implementation was a bit loose with the return value, i.e. it would
return 0 if _any_ file requested was cat'd successfully.  This maintains that
behavior.
2014-03-14 21:32:05 -04:00
..
common.txt doc: make man and html from translated documents 2013-07-03 21:49:43 +09:00
config.txt help: remove last occurrences of ".. note::" without two newlines 2014-02-19 13:25:28 +01:00
dates.txt doc: fix internal date sample (issue4072) 2013-10-29 21:54:49 +02:00
diffs.txt help: refer to user configuration file more consistently 2010-08-27 22:36:35 -04:00
environment.txt HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT 2011-01-05 00:18:36 +11:00
extensions.txt doc: make it easier to read how to enable extensions 2013-06-06 14:05:03 -04:00
filesets.txt check-code: check txt files for trailing whitespace 2013-04-15 01:37:23 +02:00
glossary.txt glossary: don't mention obsolete graphlog extension 2013-11-22 19:13:07 +01:00
hg.1.txt doc: bump copyright year 2014-01-10 16:26:11 -06:00
hgignore.5.txt doc: bump copyright year 2014-01-10 16:26:11 -06:00
hgignore.txt help: remove last occurrences of ".. note::" without two newlines 2014-02-19 13:25:28 +01:00
hgrc.5.txt doc: bump copyright year 2014-01-10 16:26:11 -06:00
hgweb.txt fix trivial spelling errors 2012-08-15 22:38:42 +02:00
merge-tools.txt help: remove last occurrences of ".. note::" without two newlines 2014-02-19 13:25:28 +01:00
multirevs.txt setup: install translation files as package data 2009-12-01 16:06:10 +01:00
patterns.txt help: remove last occurrences of ".. note::" without two newlines 2014-02-19 13:25:28 +01:00
phases.txt help: remove last occurrences of ".. note::" without two newlines 2014-02-19 13:25:28 +01:00
revisions.txt help: branch names primarily denote the tipmost unclosed branch head 2013-11-21 15:17:18 -05:00
revsets.txt doc: use "tag" revset predicate instead of "tagged" for example in help 2013-01-24 00:21:22 +09:00
subrepos.txt cat: support cat with explicit paths in subrepos 2014-03-14 21:32:05 -04:00
templates.txt help: add ifcontains, revset, and shortest to template help 2014-02-18 14:48:56 -08:00
urls.txt help: stop documentation markup appearing in generated help 2013-05-15 22:19:12 +01:00