This is an archive of the discontinued Mercurial Phabricator instance.
Authored by
ikostia on Aug 4 2017, 6:16 AM.
Event Timeline
Herald added a reviewer:
Restricted Project.
mjpieters requested changes to this revision.
This revision now requires changes to proceed.
ikostia marked an inline comment as done.
This revision is now accepted and ready to land.
This revision was automatically updated to reflect the committed changes.
Commit | Local | Parents | Author | Summary | Date |
---|
0c2b09fc34b3 | 3652 | a5f16618cedd | Kostia Balytskyi | sparse: use correct cwd-prepending with patterns (Show More…) | Aug 4 2017, 6:16 AM |
Nit: don't use backslash for line continuations when you could use (...) parentheses instead:
You also have a logic error here. You are filtering out patterns that are already absolute; if pats = ['glob:*.py', 'path:cwd/path'] you only retain ['glob:cwd/*.py'].