Bug 4757 - follow() revset only supports full, exact filenames
Summary: follow() revset only supports full, exact filenames
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: revset (show other bugs)
Version: 3.4-rc
Hardware: PC Linux
: normal feature
Assignee: Bugzilla
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2015-07-21 17:35 UTC by Matt Mackall
Modified: 2015-09-08 00:00 UTC (History)
2 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Mackall 2015-07-21 17:35:50 UTC

    
Comment 1 Pierre-Yves David 2015-07-27 14:04:01 UTC
Tempted to mark that "Easy" as we can probably just reuse matcher construction from hg log.

though?
Comment 2 Matt Mackall 2015-07-27 15:57:48 UTC
Yep, probably just a couple lines.
Comment 3 HG Bot 2015-08-31 18:30:19 UTC
Fixed by https://selenic.com/repo/hg/rev/5618858dce26
liscju <piotr.listkiewicz@gmail.com>
revsets: makes follow() supports file patterns (issue4757) (BC)

Before this patch, follow only supports full, exact filenames.
This patch makes follow argument to be treated like file
pattern same way like log treats their arguments.

It preserves current behaviour of follow() matching paths
relative to the repository root by default.

(please test the fix)
Comment 4 Bugzilla 2015-09-08 00:00:14 UTC
Bug was set to TESTING for 7 days, resolving