Mon, 12 Feb 2018 14:49:38 -0500 narrowwirepeer: rename expandnarrow capability to exp-expandnarrow
Augie Fackler <augie@google.com> [Mon, 12 Feb 2018 14:49:38 -0500] rev 36139
narrowwirepeer: rename expandnarrow capability to exp-expandnarrow The expandnarrow functionality lets a client have a shorthand (for Google it's a reference to a checked-in file) for a set of includes and excludes. For testing we should probably implement a simple version of that functionality here. For now, rename the capability so we don't burn the good name in the future if we need to change behavior. It's plausible that this functionality should be dropped from the narrowhg we ship long-term, but I'm dubious as it seems pretty likely other organizations will want similar shorthands for commonly-used subsets of their trees. Differential Revision: https://phab.mercurial-scm.org/D2193
Mon, 12 Feb 2018 14:42:47 -0500 narrow: make restrictpatterns a little more idiomatic
Augie Fackler <augie@google.com> [Mon, 12 Feb 2018 14:42:47 -0500] rev 36138
narrow: make restrictpatterns a little more idiomatic I'm not sure why invalid_includes was an out-param, but it doesn't look like there's any reason for it to be now. Differential Revision: https://phab.mercurial-scm.org/D2192
Mon, 12 Feb 2018 14:37:10 -0500 narrowspec: consistently use set() to copy sets
Augie Fackler <augie@google.com> [Mon, 12 Feb 2018 14:37:10 -0500] rev 36137
narrowspec: consistently use set() to copy sets Differential Revision: https://phab.mercurial-scm.org/D2191
Mon, 12 Feb 2018 14:27:32 -0500 narrowspec: document constraints when validating patterns
Augie Fackler <augie@google.com> [Mon, 12 Feb 2018 14:27:32 -0500] rev 36136
narrowspec: document constraints when validating patterns Differential Revision: https://phab.mercurial-scm.org/D2190
Mon, 12 Feb 2018 14:15:52 -0500 narrowrevlog: add a TODO around remotefilelog moving to core
Augie Fackler <augie@google.com> [Mon, 12 Feb 2018 14:15:52 -0500] rev 36135
narrowrevlog: add a TODO around remotefilelog moving to core We should clean this up considerably when remotefilelog lands, which we expect to try and accomplish in the near-ish future. Differential Revision: https://phab.mercurial-scm.org/D2189
Mon, 12 Feb 2018 14:12:28 -0500 narrowrevlog: add what little I can remember about rename filtering
Augie Fackler <augie@google.com> [Mon, 12 Feb 2018 14:12:28 -0500] rev 36134
narrowrevlog: add what little I can remember about rename filtering Differential Revision: https://phab.mercurial-scm.org/D2188
Mon, 12 Feb 2018 14:01:44 -0500 manifest: clean up dirlog() to take a d parameter to avoid shadowing dir()
Augie Fackler <augie@google.com> [Mon, 12 Feb 2018 14:01:44 -0500] rev 36133
manifest: clean up dirlog() to take a d parameter to avoid shadowing dir() Differential Revision: https://phab.mercurial-scm.org/D2187
Mon, 12 Feb 2018 14:00:02 -0500 narrowrevlog: replace AssertionError with ProgrammingError
Augie Fackler <augie@google.com> [Mon, 12 Feb 2018 14:00:02 -0500] rev 36132
narrowrevlog: replace AssertionError with ProgrammingError Differential Revision: https://phab.mercurial-scm.org/D2186
Mon, 12 Feb 2018 13:54:41 -0500 narrowrevlog: document excludeddir class and friends
Augie Fackler <augie@google.com> [Mon, 12 Feb 2018 13:54:41 -0500] rev 36131
narrowrevlog: document excludeddir class and friends Differential Revision: https://phab.mercurial-scm.org/D2185
Mon, 12 Feb 2018 13:51:29 -0500 narrowrepo: add docstring for narrowpats
Augie Fackler <augie@google.com> [Mon, 12 Feb 2018 13:51:29 -0500] rev 36130
narrowrepo: add docstring for narrowpats Differential Revision: https://phab.mercurial-scm.org/D2184
Fri, 02 Feb 2018 10:51:47 -0500 narrowtemplates: update to use registrar mechanism
Augie Fackler <augie@google.com> [Fri, 02 Feb 2018 10:51:47 -0500] rev 36129
narrowtemplates: update to use registrar mechanism It's worth considering at this point if we should just move the two ellipsis functions to core tagged experimental or something, since they're not really narrowing-specific... Differential Revision: https://phab.mercurial-scm.org/D2009
Fri, 02 Feb 2018 10:37:29 -0500 narrow: move from ELLIPSIS_NODE_FLAG to revlog.REVIDX_ELLIPSIS
Augie Fackler <augie@google.com> [Fri, 02 Feb 2018 10:37:29 -0500] rev 36128
narrow: move from ELLIPSIS_NODE_FLAG to revlog.REVIDX_ELLIPSIS We should have been using this value all along. Sigh. Differential Revision: https://phab.mercurial-scm.org/D2008
Fri, 02 Feb 2018 10:28:57 -0500 narrowrepo: make repo requirement include the string 'experimental'
Augie Fackler <augie@google.com> [Fri, 02 Feb 2018 10:28:57 -0500] rev 36127
narrowrepo: make repo requirement include the string 'experimental' We can just move to "narrow" or similar when we finalize the format. I'm not sure what the migration process from one requirement to another should look like, but we're about to cross that bridge at Google once this change lands, so hopefully we'll know soon. Differential Revision: https://phab.mercurial-scm.org/D2007
Fri, 02 Feb 2018 10:27:08 -0500 narrow: mark requirement as a constant
Augie Fackler <augie@google.com> [Fri, 02 Feb 2018 10:27:08 -0500] rev 36126
narrow: mark requirement as a constant Differential Revision: https://phab.mercurial-scm.org/D2006
(0) -30000 -10000 -3000 -1000 -300 -100 -14 +14 +100 +300 +1000 +3000 +10000 tip