1. Augie Fackler
  2. hgsubversion

Commits

Author Commit Message Date Builds
Sean Farley
tests: add test for regex and glob
Sean Farley
maps: add ability to parse a regex or glob This code is taken straight from mercurial's hgignore parser. With this patch we can now understand 'syntax: glob' or 'syntax: re' lines as well as lines that begin with 'glob:' or 're:'.
Sean Farley
maps: protect author map functions from regexes In an upcoming patch, we will add regexes so we protect the AuthorMap functions that assume a string being passed in.
Sean Farley
maps: add custom __contains__ Similar to dict.__contains__ except we our own matching function, _findkey.
Sean Farley
maps: add custom __setitem__ Similar to dict.__setitem__ except we compile the key into a regex, if need be.
Sean Farley
maps: add custom __getitem__ Similar to dict.__getitem__ except we use our own matching function, _findkey.
Sean Farley
maps: add custom get method Similar to dict.get, except we use our own matching function.
Sean Farley
maps: add _findkey method This private method will help us find a key that matches a regex. Priority is given to old-style strings.
Sean Farley
maps: use regex for better comment handling This is copied straight from mercurial's hgignore parsing.
Sean Farley
maps: remove unneeded load method from tag map
Sean Farley
maps: remove unneeded __init__ code from tag map
Sean Farley
maps: make tag map inherit from base map
Sean Farley
maps: remove unneeded load method from branch map
Sean Farley
maps: remove unneeded __init__ code from branch map
Sean Farley
maps: make branch map inherit from base map
Sean Farley
maps: remove unneeded load method from author map
Sean Farley
maps: remove unneeded __init__ code from author map
Sean Farley
maps: make author map inherit from base map
Sean Farley
maps: add a load method to base map Since all three map classes (authors, tags, branches) have the exact same logic for their load method, we add a generic one to base map so that each one can use it.
Sean Farley
maps: add a basemap class We add a new class, BaseMap, so that we can factor out common code for all the different type of map classes.
Sean Farley
maps: call super directly instead of self.super In the next few patches, we're going to remove self.super because it isn't reliable for calling up the parent chain. Instead, we'll save ourselves the headache and change it now.
Sean Farley
maps: remove meta.caseignoreauthors from load method Since this is now taken care of in AuthorMap.__setitem__, we remove this check from the AuthorMap.load method so that it is easy to refactor.
Sean Farley
maps: add custom __contains__ to author map We add a custom __contains__ method to AuthorMap so that we can encapsulate the meta.caseignoreauthor logic.
Sean Farley
maps: add custom __setitem__ to author map We add a custom __setitem__ that will encapsulate the meta.caseignoreauthor logic.
Augie Fackler
Merge with stable.
Augie Fackler
svncommands: cope with aa73d6a5d9ea which removed optionalrepo We manually set the optionalrepo attr rather than migrate to the decorator form. Soon we should do that migration.
Branches
stable
Shun-ichi Goto
compat: fix some more use of repo.parents() fix repo.parents() to repo[None].parents() in some places along with changeset 4f8b1f202c90.
Branches
stable
Mateusz Kwapich
maps: remove python2.7ism from dynamic author mapping
Jérôme Berger
Added dynamic author mapping.
Augie Fackler
rename-closed-branch-dir: add a fixture that renames a directory of closed branches Reported as issue 423.
  1. Prev
  2. Next