Angel Ezquerra
5aafeb5916
fileset: add "subrepo" fileset symbol
...
This new fileset symbol returns a list of subrepos whose paths match a given
pattern. If the argument has no pattern type set, an exact
match is performed.
If no argument is passed, return a list of all subrepos.
2012-03-22 21:12:15 +01:00
Matt Mackall
da19c55d26
fileset: don't attempt to check data predicates against removed files
2012-01-20 22:19:40 -06:00
Idan Kamara
9401c4603c
fileset: fix typo in binary() doc
2011-07-04 14:36:16 +03:00
Wagner Bruna
6e3f89657d
fileset: add i18n hints for keywords
2011-06-27 13:48:25 -03:00
Mads Kiilerich
1794513e71
fileset: copied takes no arguments
2011-06-24 01:10:35 +02:00
Mads Kiilerich
7cf147b1a4
revset and fileset: fix typos in parser error messages
2011-06-22 01:55:00 +02:00
Mads Kiilerich
9f3fc0b58e
fileset: use ParseError pos field correctly
...
The pos field is intended to describe the position of the error - it should not
be used for other potentially interesting information.
2011-06-24 00:18:41 +02:00
Mads Kiilerich
473bcd3ed1
parsers: fix localization markup of parser errors
2011-06-21 00:17:52 +02:00
Ollie Rutherfurd
593b23dd2b
fileset: use correct function name for hgignore in docstring
...
docstring refereed to "resolved" instead of "hgignore"
2011-06-19 22:33:25 -04:00
Thomas Arendsen Hein
99f096ba63
fileset: add missing whitespace around operator
2011-06-19 11:43:40 +02:00
Matt Mackall
c4d41451a4
fileset: drop backwards SI size units
...
- the power of 2 ones should be kiB, MiB, etc.
- the power of 10 ones (SI standard) should be kB, MB, but we're currently
using the industry traditional units elsewhere
2011-06-18 20:49:07 -05:00
Matt Mackall
f0947299d9
fileset: add copied predicate
2011-06-18 16:53:49 -05:00
Matt Mackall
d2639d0874
fileset: add encoding() predicate
2011-06-18 16:53:49 -05:00
Matt Mackall
dea358aea5
fileset: add size() predicate
2011-06-18 16:53:49 -05:00
Matt Mackall
097fbc7efc
fileset: add grep predicate
2011-06-18 16:53:49 -05:00
Matt Mackall
424cb390f7
fileset: add some function help text
2011-06-18 16:53:49 -05:00
Matt Mackall
cd8a73fe93
fileset: add hgignore
2011-06-18 16:53:49 -05:00
Matt Mackall
4ce9da8ec0
fileset: add resolved and unresolved predicates
2011-06-18 16:53:49 -05:00
Matt Mackall
5b901d4a0d
fileset: prescan parse tree to optimize status usage
...
We only call status if needed to avoid walking the working directory
or comparing manifests.
Similarly, we scan for whether unknown or ignored files are mentioned
so we can include them.
2011-06-18 16:53:49 -05:00
Matt Mackall
5761c899b5
fileset: add support for file status predicates
...
This forcibly walks the tree looking for unknown and ignored files,
which is suboptimal. A better approach would scan the tree first to
find required status components and skip the status check entirely if
it's unused.
2011-06-18 16:53:49 -05:00
Matt Mackall
12efed7dfc
fileset: add some basic predicates
2011-06-18 16:53:49 -05:00
Matt Mackall
3c219ce0dc
fileset: drop matchfn
...
This is now built into contexts
2011-06-18 16:52:51 -05:00
Matt Mackall
5f2e38a0df
hg: add peer method
2011-06-10 11:43:38 -05:00
Matt Mackall
5f5a2076a9
fileset: basic pattern and boolean support
...
debugfileset can now generate file lists for things like:
"* and not hg*"
2011-06-08 13:44:41 -05:00
Matt Mackall
6bf6135996
fileset: fix long line
2011-06-02 11:27:40 -05:00
Matt Mackall
fd0ca6b6e5
filesets: introduce basic fileset expression parser
2011-06-01 19:12:18 -05:00