log mercurial/match.py @ 38475:67dc32d4e790

age author description
Tue, 26 Jun 2018 10:36:23 -0400 Augie Fackler cleanup: migrate from re.escape to stringutil.reescape
Wed, 16 May 2018 07:58:02 +0530 Pulkit Goyal py3: use pycompat.bytestr() on bytes before %r-ing it
Thu, 22 Mar 2018 21:56:20 +0900 Yuya Nishihara stringutil: bulk-replace call sites to point to new module
Fri, 02 Mar 2018 00:37:55 -0500 Augie Fackler match: some minimal pycompat fixes guided by test-hgignore.t
Sun, 11 Feb 2018 16:17:17 +0530 Pulkit Goyal py3: make sure we return str from __repr__
Tue, 16 Jan 2018 22:14:33 +0900 Yuya Nishihara match: do not weirdly include explicit files excluded by -X option
Thu, 30 Nov 2017 22:32:13 +0900 Yuya Nishihara match: remove doc about undefined behavior of visitdir()
Sat, 30 Sep 2017 07:44:45 -0400 Augie Fackler match: remove superfluous pass statements
Sun, 03 Sep 2017 14:56:31 +0900 Yuya Nishihara doctest: use print_function and convert bytes to unicode where needed
Sun, 03 Sep 2017 14:32:11 +0900 Yuya Nishihara doctest: bulk-replace string literals with b'' for Python 3
Wed, 02 Aug 2017 15:48:57 -0700 Kostia Balytskyi match: expose some data and functionality to other modules
Wed, 19 Jul 2017 14:50:50 -0700 Martin von Zweigbergk match: override visitdir() in nevermatcher to return False stable
Tue, 11 Jul 2017 10:46:55 -0700 Martin von Zweigbergk match: remove unused negatematcher
Fri, 14 Jul 2017 10:57:36 -0700 Durham Goode match: make base matcher return True for visitdir
Tue, 11 Jul 2017 10:46:10 -0700 Martin von Zweigbergk match: make unionmatcher a proper matcher
Fri, 07 Jul 2017 14:39:59 -0700 Martin von Zweigbergk match: write forceincludematcher using unionmatcher
Tue, 11 Jul 2017 09:42:32 -0700 Martin von Zweigbergk match: inverse _anypats(), making it _prefix()
Fri, 07 Jul 2017 08:55:12 -0700 Martin von Zweigbergk match: override matchfn instead of __call__ for consistency
Sun, 09 Jul 2017 17:02:09 -0700 Martin von Zweigbergk match: express anypats(), not prefix(), in terms of the others
Sun, 09 Jul 2017 15:19:27 -0700 Martin von Zweigbergk match: make nevermatcher an exact matcher and a prefix matcher
Sun, 09 Jul 2017 23:01:11 -0700 Martin von Zweigbergk match: combine regex code for path: and relpath:
Sun, 09 Jul 2017 22:53:02 -0700 Martin von Zweigbergk match: remove unnecessary '^' from regexes
Thu, 06 Jul 2017 17:39:24 -0700 Gregory Szorc match: move matchers from sparse into core
Thu, 08 Jun 2017 22:49:21 -0700 Martin von Zweigbergk match: minor cleanups to patternmatcher and includematcher
Thu, 08 Jun 2017 22:18:17 -0700 Martin von Zweigbergk match: allow pats to be None
Thu, 01 Jun 2017 08:31:21 -0700 Martin von Zweigbergk match: simplify nevermatcher
Thu, 01 Jun 2017 00:40:52 -0700 Siddharth Agarwal match: introduce nevermatcher for when no ignore files are present
Fri, 19 May 2017 13:16:15 -0700 Martin von Zweigbergk match: remove special-casing of always-matching patterns in patternmatcher
Fri, 19 May 2017 12:47:45 -0700 Martin von Zweigbergk match: move normalize() call out of matcher constructors
Fri, 19 May 2017 11:58:16 -0700 Martin von Zweigbergk match: drop support for empty pattern list in patternmatcher
Sat, 20 May 2017 23:49:14 -0700 Martin von Zweigbergk match: optimize visitdir() for when no explicit files are listed
Fri, 19 May 2017 11:50:01 -0700 Martin von Zweigbergk match: handle everything-matching using new alwaysmatcher
Fri, 26 May 2017 13:08:30 -0700 Martin von Zweigbergk match: add __repr__ for subdirmatcher
Sun, 28 May 2017 23:54:31 +0900 Yuya Nishihara match: define exactmatcher.matchfn statically
Sun, 28 May 2017 23:51:30 +0900 Yuya Nishihara match: remove override of prefix() from differencematcher
Fri, 19 May 2017 11:44:05 -0700 Martin von Zweigbergk match: remove support for includes from patternmatcher
Mon, 22 May 2017 23:31:15 -0700 Martin von Zweigbergk match: simplify includematcher a bit
Fri, 19 May 2017 13:36:34 -0700 Martin von Zweigbergk match: remove support for non-include patterns from includematcher
Fri, 19 May 2017 22:36:14 -0700 Martin von Zweigbergk match: split up main matcher into patternmatcher and includematcher
Thu, 18 May 2017 23:39:39 -0700 Martin von Zweigbergk match: remove support for exact matching from main matcher class
Wed, 17 May 2017 09:26:15 -0700 Martin von Zweigbergk match: handle exact matching using new exactmatcher
Fri, 12 May 2017 23:12:05 -0700 Martin von Zweigbergk match: handle includes using new intersectionmatcher
Thu, 25 May 2017 14:32:56 -0700 Martin von Zweigbergk match: move entire uipath() implementation to basematcher
Tue, 16 May 2017 22:15:42 -0700 Martin von Zweigbergk match: remove support for excludes from matcher class
Tue, 16 May 2017 16:36:48 -0700 Martin von Zweigbergk match: handle excludes using new differencematcher
Thu, 25 May 2017 09:52:56 -0700 Martin von Zweigbergk match: override matchfn() the usual way in subdirmatcher
Thu, 25 May 2017 09:52:49 -0700 Martin von Zweigbergk match: make matchfn a method on the class
Tue, 16 May 2017 14:31:21 -0700 Martin von Zweigbergk match: fix visitdir for roots of includes
Wed, 17 May 2017 23:02:42 -0700 Martin von Zweigbergk match: make subdirmatcher extend basematcher
Fri, 19 May 2017 10:17:08 -0700 Martin von Zweigbergk match: make basematcher._files a @propertycache
Wed, 17 May 2017 23:45:13 -0700 Martin von Zweigbergk match: extract base class for matchers
Tue, 23 May 2017 08:49:01 -0700 Martin von Zweigbergk match: use ProgrammingError where appropriate
Mon, 22 May 2017 08:49:34 -0700 Martin von Zweigbergk match: catch attempts to create case-insenstive exact matchers
Mon, 22 May 2017 11:08:18 -0700 Martin von Zweigbergk match: implement __repr__() and update users (API)
Thu, 18 May 2017 22:20:59 -0700 Martin von Zweigbergk match: replace icasefsmatch() function by flag to regular match()
Thu, 18 May 2017 16:48:02 -0700 Martin von Zweigbergk match: delete icasefsmatcher now that it's same as matcher
Thu, 18 May 2017 15:45:50 -0700 Martin von Zweigbergk match: pass in normalize() function to matchers
Thu, 18 May 2017 16:05:46 -0700 Martin von Zweigbergk match: don't print explicitly listed files with wrong case (BC)
Thu, 18 May 2017 15:25:16 -0700 Martin von Zweigbergk match: move body of _normalize() to a static function
Thu, 18 May 2017 15:11:04 -0700 Martin von Zweigbergk match: pass 'warn' argument to _normalize() for consistency
Fri, 12 May 2017 23:11:41 -0700 Martin von Zweigbergk match: replace match class by match function (API)
Wed, 17 May 2017 22:33:15 -0700 Martin von Zweigbergk match: use match.prefix() in subdirmatcher
Fri, 12 May 2017 16:31:21 -0700 Martin von Zweigbergk match: avoid accessing match._pathrestricted from subdirmatcher
Thu, 18 May 2017 10:17:57 -0700 Martin von Zweigbergk match: override visitdir() the usual way in subdirmatcher
Thu, 18 May 2017 09:04:37 -0700 Martin von Zweigbergk match: make _fileroots a @propertycache and rename it to _fileset
Wed, 17 May 2017 09:43:50 -0700 Martin von Zweigbergk match: remove ispartial()
Fri, 10 Feb 2017 16:56:29 -0800 Martin von Zweigbergk cleanup: use set literals
Fri, 05 May 2017 08:49:07 -0700 Martin von Zweigbergk match: optimize visitdir() for patterns matching only root directory
Wed, 03 May 2017 10:30:57 -0700 Durham Goode match: make subinclude construction lazy
Wed, 15 Mar 2017 15:08:45 -0700 Pierre-Yves David match: explicitly tests for None
Thu, 16 Mar 2017 08:03:51 +0530 Pulkit Goyal match: slice over bytes to get the byteschr instead of ascii value
Thu, 16 Mar 2017 07:52:47 +0530 Pulkit Goyal match: make regular expression bytes to prevent TypeError
Wed, 15 Mar 2017 14:51:18 +0530 Rishabh Madan py3: open file in rb mode
Sun, 12 Mar 2017 21:53:03 -0700 Gregory Szorc match: don't use mutable default argument value
Mon, 13 Feb 2017 17:03:14 -0800 Rodrigo Damazio Bovendorp match: making visitdir() deal with non-recursive entries
Mon, 13 Feb 2017 15:39:29 -0800 Rodrigo Damazio Bovendorp match: adding support for matching files inside a directory
Mon, 14 Nov 2016 23:16:05 +0000 Jun Wu match: migrate to util.iterfile
Tue, 16 Aug 2016 08:21:16 +0000 Hannes Oldenburg match: remove matchessubrepo method (API)
Tue, 09 Aug 2016 09:02:51 +0000 Hannes Oldenburg match: added matchessubrepo method to matcher
Tue, 14 Jun 2016 11:53:55 +0200 liscju i18n: translate abort messages
Fri, 05 Feb 2016 21:25:44 -0800 Martin von Zweigbergk match: override 'visitdir' in subdirmatcher
Fri, 05 Feb 2016 21:09:32 -0800 Martin von Zweigbergk match: rename "narrowmatcher" to "subdirmatcher" (API)
Sat, 26 Dec 2015 19:40:38 -0800 Laurent Charignon match: add option to return line and lineno from readpattern
Sat, 12 Dec 2015 09:57:05 -0800 Martin von Zweigbergk treemanifest: don't iterate entire matching submanifests on match()
Thu, 10 Dec 2015 21:33:55 -0800 Bryan O'Sullivan match: use re2 in readpatternfile if possible
Sat, 17 Oct 2015 00:58:46 +0200 Mads Kiilerich spelling: trivial spell checking
Thu, 08 Oct 2015 12:55:45 -0700 Pierre-Yves David error: get Abort from 'error' instead of 'util'
Wed, 12 Aug 2015 17:01:50 -0500 Matt Mackall merge with stable
Thu, 06 Aug 2015 21:00:16 -0400 Matt Harbison match: fix a caseonly rename + explicit path commit on icasefs (issue4768) stable
Sat, 08 Aug 2015 19:39:45 -0700 Gregory Szorc match: use absolute_import
Mon, 27 Jul 2015 22:14:40 +0900 Yuya Nishihara ignore: fix path concatenation of .hgignore on Windows stable
Fri, 24 Jul 2015 16:44:52 -0700 Durham Goode ignore: fix include: rules depending on current directory (issue4759) stable
Wed, 24 Jun 2015 13:41:27 -0500 Matt Mackall merge with stable
Tue, 23 Jun 2015 22:20:08 -0700 Gregory Szorc global: mass rewrite to use modern exception syntax
Sat, 20 Jun 2015 19:59:26 -0400 Matt Harbison match: let 'path:.' and 'path:' match everything (issue4687) stable
Wed, 27 May 2015 13:22:48 -0700 Martin von Zweigbergk match: don't remove '.' from _includeroots
Sun, 31 May 2015 13:17:41 -0700 Martin von Zweigbergk match: join two nested if-blocks
Wed, 27 May 2015 11:47:55 -0700 Martin von Zweigbergk match: drop optimization (?) of 'parentdirs' calculation
Wed, 27 May 2015 09:34:00 -0700 Martin von Zweigbergk match: break boolean expressions into one operand per line
Wed, 27 May 2015 13:23:35 -0700 Martin von Zweigbergk match: drop unnecessary removal of '.' from excluded roots
Fri, 05 Jun 2015 18:56:33 -0400 Matt Harbison match: add an optional constructor parameter for a bad() override
Thu, 04 Jun 2015 21:19:22 -0400 Matt Harbison match: introduce badmatch() to eliminate long callback chains with subrepos
Wed, 27 May 2015 10:44:04 -0700 Martin von Zweigbergk treemanifest: visit directory 'foo' when given e.g. '-X foo/ba?'
Wed, 27 May 2015 13:28:16 -0400 Matt Harbison match: normpath the ignore source when expanding the 'subinclude' kind
Sat, 16 May 2015 16:25:05 -0700 Durham Goode match: enable 'subinclude:' syntax
Fri, 22 May 2015 14:39:34 -0700 Drew Gottlieb match: fix bug in match.visitdir()
Sat, 16 May 2015 16:16:18 -0700 Durham Goode match: allow unioning arbitrary match functions
Sat, 16 May 2015 16:12:00 -0700 Durham Goode match: add root to _buildmatch
Tue, 28 Oct 2014 22:47:22 -0700 Martin von Zweigbergk match: introduce boolean prefix() method
Mon, 18 May 2015 14:29:20 -0700 Drew Gottlieb match: have visitdir() consider includes and excludes
Sat, 16 May 2015 16:06:22 -0700 Durham Goode ignore: use 'include:' rules instead of custom syntax
Sat, 16 May 2015 15:56:52 -0700 Durham Goode match: add 'include:' syntax
Mon, 18 May 2015 16:27:56 -0700 Durham Goode match: add optional warn argument
Sat, 16 May 2015 15:51:03 -0700 Durham Goode match: add source to kindpats list
Tue, 19 May 2015 07:17:57 -0500 Matt Mackall merge with stable
Sun, 17 May 2015 22:09:37 -0400 Matt Harbison match: explicitly naming a subrepo implies always() for the submatcher stable
Fri, 08 May 2015 12:30:51 -0700 Drew Gottlieb match: rename _fmap to _fileroots for clarity
Wed, 06 May 2015 15:59:35 -0700 Drew Gottlieb match: remove unnecessary optimization where visitdir() returns 'all'
Sat, 16 May 2015 15:46:54 -0700 Durham Goode ignore: move readpatternfile to match.py
Sat, 16 May 2015 00:36:35 -0400 Matt Harbison match: resolve filesets in subrepos for commands given the '-S' argument
Fri, 15 May 2015 15:43:26 -0700 Drew Gottlieb match: add match.ispartial()
Sun, 12 Apr 2015 01:39:21 -0400 Matt Harbison match: add a subclass for dirstate normalizing of the matched patterns
Sun, 12 Apr 2015 00:29:17 -0400 Matt Harbison match: move _normalize() into the match class
Mon, 06 Apr 2015 10:51:53 -0700 Drew Gottlieb treemanifest: further optimize treemanifest.matches()
Sat, 17 Jan 2015 12:39:44 +0900 Yuya Nishihara match: remove unused assignment of ctx
Wed, 29 Oct 2014 08:43:39 -0700 Martin von Zweigbergk match: add isexact() method to hide internals
Wed, 19 Nov 2014 15:56:58 -0800 Martin von Zweigbergk matcher: make e.g. 'relpath:.' lead to fast paths
Thu, 27 Nov 2014 10:16:56 -0500 Matt Harbison narrowmatcher: propagate the rel() method
Fri, 28 Nov 2014 20:15:46 -0500 Matt Harbison match: add the abs() method
Sat, 01 Nov 2014 22:56:49 -0700 Martin von Zweigbergk match: make 'always' and 'exact' functions, not classes
Thu, 04 Dec 2014 23:04:55 -0500 Matt Harbison match: introduce uipath() to properly style a file path
Tue, 30 Sep 2014 15:58:08 -0700 Martin von Zweigbergk match: remove unnecessary setting of self._always
Fri, 19 Sep 2014 13:49:58 -0700 Martin von Zweigbergk match: simplify brittle predicate construction
Tue, 15 Jul 2014 15:34:50 -0700 Siddharth Agarwal match: use util.re.escape instead of re.escape
Tue, 15 Jul 2014 14:49:45 -0700 Siddharth Agarwal match: use util.re.compile instead of util.compilere
Wed, 25 Jun 2014 14:50:48 -0700 Siddharth Agarwal match: make glob '**/' match the empty string stable
Tue, 29 Apr 2014 11:02:40 +0900 Yuya Nishihara match: fix NameError 'pat' on overflow of regex pattern length stable
Thu, 03 Oct 2013 18:01:21 +0200 Mads Kiilerich match: remove last traces of unused .missing callback
Sun, 13 Apr 2014 22:00:08 +0200 Mads Kiilerich match: _globre doctests
Thu, 03 Oct 2013 18:01:21 +0200 Mads Kiilerich match: improve documentation - docstrings and more descriptive variable naming
Thu, 03 Oct 2013 18:01:21 +0200 Mads Kiilerich match: make it more clear what _roots do and that it ends up in match()._files
Tue, 04 Feb 2014 14:54:42 -0500 Augie Fackler match: use ctx.getfileset() instead of fileset.getfileset()
Wed, 06 Nov 2013 18:19:04 -0500 Augie Fackler pathutil: tease out a new library to break an import cycle from canonpath use
Thu, 03 Oct 2013 14:50:47 +0200 Mads Kiilerich check-code: check for spaces around = for named parameters
Fri, 03 May 2013 15:36:18 -0700 Siddharth Agarwal match: add comments to explain explicitdir and traversedir
Fri, 03 May 2013 14:41:58 -0700 Siddharth Agarwal match: make explicitdir and traversedir None by default
Sun, 28 Apr 2013 21:29:32 -0700 Siddharth Agarwal match: drop dir callback
Sun, 28 Apr 2013 21:24:09 -0700 Siddharth Agarwal match: introduce explicitdir and traversedir
Tue, 30 Apr 2013 01:04:35 +0200 Mads Kiilerich match: fix root calculation for combining regexps with simple paths stable
Thu, 21 Feb 2013 12:55:39 -0800 Bryan O'Sullivan match: more accurately report when we're always going to match
Wed, 15 Aug 2012 22:39:18 +0200 Mads Kiilerich fix wording and not-completely-trivial spelling errors and bad docstrings
Fri, 01 Jun 2012 15:26:20 -0700 Bryan O'Sullivan matcher: use re2 bindings if available
Wed, 30 May 2012 14:21:58 -0500 Matt Mackall merge with stable
Wed, 23 May 2012 00:25:29 +0900 FUJIWARA Katsunori match: make 'match.files()' return list object always stable
Sat, 12 May 2012 16:00:58 +0200 Brodie Rao cleanup: "raise SomeException()" -> "raise SomeException"
Fri, 04 May 2012 15:54:55 -0400 Jesse Glick localrepo: optimize internode status calls using match.always
Sun, 26 Feb 2012 17:10:55 +0100 Patrick Mezard match: consider filesets as "anypats"
Tue, 09 Aug 2011 11:05:13 +0200 Martin Geisler match: remove unused assignment
Thu, 23 Jun 2011 14:40:57 +0200 Peter Arrenbrecht match: fix bug caused by refactoring in cfc89398f710 stable
Sat, 18 Jun 2011 16:53:44 -0500 Matt Mackall match: introduce basic fileset support
Sat, 18 Jun 2011 16:52:51 -0500 Matt Mackall match: allow passing a context object to match core
Sat, 07 May 2011 21:12:30 +0200 Patrick Mezard match: make 'listfile:' split on LF and CRLF
Mon, 02 May 2011 10:11:18 +0200 Dan Villiom Podlaski Christiansen prevent transient leaks of file handle by using new helper functions
Wed, 20 Apr 2011 21:41:41 +0200 Adrian Buehlmann move canonpath from util to scmutil
Fri, 18 Feb 2011 10:28:20 -0600 Steve Borho match: fix subtle error in _buildmatch stable
Sat, 15 Jan 2011 16:02:03 +0100 jfh add debugignore which yields the combined ignore patten of the .hgignore files
Thu, 23 Dec 2010 15:12:24 -0600 Steve Borho match: support reading pattern lists from files
Mon, 13 Sep 2010 13:09:09 +0200 Martin Geisler narrowmatcher: propagate bad method
Mon, 13 Sep 2010 13:08:18 +0200 Martin Geisler narrowmatcher: fix broken rel method
Fri, 03 Sep 2010 12:58:51 +0200 Martin Geisler match: add narrowmatcher class
Fri, 03 Sep 2010 12:58:51 +0200 Martin Geisler match: accept auditor argument
Mon, 30 Aug 2010 17:11:51 +0200 Martin Geisler match: mark error messages for translation stable
Mon, 25 Jan 2010 00:05:27 -0600 Matt Mackall many, many trivial check-code fixups
Tue, 19 Jan 2010 22:20:08 -0600 Matt Mackall Update license to GPLv2+ stable
Sun, 05 Jul 2009 11:06:09 +0200 Alejandro Santos split local and stdlib module imports (eases migration issues)
Tue, 09 Jun 2009 09:25:17 -0400 timeless Generally replace "file name" with "filename" in help and comments.
Sun, 31 May 2009 17:54:18 -0500 Matt Mackall match: remove match.never
Sun, 31 May 2009 17:54:18 -0500 Matt Mackall match: ignore return of match.bad
Sun, 31 May 2009 17:54:18 -0500 Matt Mackall match: document bad callback semantics
Sun, 24 May 2009 16:37:34 -0500 Matt Mackall match: fix _patsplit breakage with drive letters
Sun, 24 May 2009 02:56:22 -0500 Matt Mackall match: fold match into _match base class
Sun, 24 May 2009 02:56:20 -0500 Matt Mackall match: add exact flag to match() to unify all match forms
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: redefine always and never in terms of match and exact
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: fold _globprefix into _roots
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: optimize escaping in _globre
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: remove head and tail args from _globre
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: fold _matcher into match.__init__
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: rename _matchfn to _buildmatch
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: optimize _patsplit
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: tweak some names
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: simplify _matcher
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: split up _normalizepats
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: optimize _globprefix
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: unnest functions in _matcher
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: kill unused defaults on _globre
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: kill test in matchfn
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: refactor matchfn generation
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: move util match functions over
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: refactor patkind
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: add some default args
Sun, 24 May 2009 02:56:14 -0500 Matt Mackall match: change all users of util.matcher to match.match
Fri, 15 May 2009 09:43:30 +0200 Simon Heimberg match: use self.exact instead of lambda
Sun, 26 Apr 2009 01:57:00 +0200 Martin Geisler match: add copyright and license header
Wed, 22 Apr 2009 00:57:28 +0200 Martin Geisler replace set-like dictionaries with real sets
Tue, 22 Jul 2008 13:03:31 -0500 Matt Mackall dirstate.walk: speed up calling match function
Mon, 12 May 2008 11:37:08 -0500 Matt Mackall match: cleanup match classes a bit
Mon, 12 May 2008 11:37:08 -0500 Matt Mackall match: add always, never, and exact methods
Mon, 12 May 2008 11:37:07 -0500 Matt Mackall walk: begin refactoring badmatch handling
Mon, 12 May 2008 11:37:07 -0500 Matt Mackall walk: introduce match objects