##// END OF EJS Templates
py: error out if a "skip" character was given with non-dict to util.dirs()...
py: error out if a "skip" character was given with non-dict to util.dirs() util.dirs() keeps track of the directories in its input collection. If a "skip" character is given to it, it will assume the input is a dirstate map and it will skip entries that are in the given "skip" state. I think this is used only for skipping removed entries ("r") in the dirtate. The C implementation of util.dirs() errors out if it was given a skip character and a non-dict was passed. The pure implementation simply ignored the request skip state. Let's make it easier to discover bugs here by erroring out in the pure implementation too. Let's also switch to checking for the dict-ness, to make the C implementation (since that's clearly been sufficient for many years). This last change makes test-issue660.t pass on py3 in pure mode, since the old check was for existence of iteritems(), which doesn't exist on py3. Differential Revision: https://phab.mercurial-scm.org/D6669

File last commit:

r41072:ce0bc295 default
r42864:b5092c23 stable
Show More
TODO.rst
21 lines | 782 B | text/x-rst | RstLexer
Gregory Szorc
narrow: remove narrowrevlog...
r39807 Address commentary in manifest.excludedmanifestrevlog.add -
Augie Fackler
narrow: add a TODO document...
r36121 specifically we should improve the collaboration with core so that
add() never gets called on an excluded directory and we can improve
the stand-in to raise a ProgrammingError.
Reason more completely about rename-filtering logic in
narrowfilelog. There could be some surprises lurking there.
Martin von Zweigbergk
narrow: update TODO.rst now that we share format with sparse...
r40116 Formally document the narrowspec format. For bonus points, unify with the
server-specified narrowspec format.
Augie Fackler
narrow: add a TODO document...
r36121
narrowrepo.setnarrowpats() or narrowspec.save() need to make sure
they're holding the wlock.
Martin von Zweigbergk
narrow: move remaining narrow-limited dirstate walks to core...
r40123
The follinwg places do an unrestricted dirstate walk (including files outside the
narrowspec). Some of them should perhaps not do that.
* debugfileset
* perfwalk
* sparse (but restricted to sparse config)
* largefiles