hg log 'filename' not showing merges?
Leo Razoumov
slonik.az at gmail.com
Mon May 21 22:35:00 UTC 2007
On 5/21/07, Matt Mackall <mpm at selenic.com> wrote:
> [..snip..]
> But we still haven't solved your problem, which can be phrased as
> "when did file X get changed -relative- to branch Y"? And
> unfortunately, we don't currently store enough data in each changeset
> to make answering this question fast. We store a list of changed files
> but that's only "changed" in the sense above. So we'll have to hack
> something up:
>
> for rev in `hg log -f --template "{rev}\n"`; do
> echo -n "$rev:"
> hg manifest --debug | grep myfile
> done
The 3-rd line in the shell script above
"hg manifest --debug | grep myfile"
does not seem right. It does not use current value of $rev at all.
Should it be the following instead??
hg manifest --debug $rev | grep myfile
--Leo--
More information about the Mercurial
mailing list