Re: How do I find all files that have been "hg copy"'d

2022-05-01 Thread John Carter via Mercurial
Thanks! I did eventually find there is a curious, umm, feature, (at least in version 6.1.1) to hg log. "hg log --copies" will tell you, if and only if you use -v! ie. hg log --copies -v On Mon, May 2, 2022 at 6:45 AM Gregory Szorc wrote: > I don't believe revsets have a way to

Re: How do I find all files that have been "hg copy"'d

2022-05-01 Thread Gregory Szorc
I don't believe revsets have a way to filter over copies explicitly. (That would potentially be a useful feature!) But templates do have a way to access just copies metadata. You can do something like `hg log -T '{node|short} {join(file_copies, " ")}\n'` to print the copies in all changesets.

How do I find all files that have been "hg copy"'d

2022-04-28 Thread John Carter via Mercurial
Related to my previous question... But if no solution for that is forthcoming... one solution would be to update to the changeset before the one that did the last "hg copy" and redo and prune that that changeset . But the question then becomes... how do I find all hg copy's? -- This