Recommended repository viewer?
Yuya Nishihara
yuya at tcha.org
Mon Dec 15 14:39:01 UTC 2014
On Sun, 14 Dec 2014 17:15:18 -0800, Pierre-Yves David wrote:
> On 12/12/2014 08:53 AM, Simon King wrote:
> > It's a shame that "thg log" doesn't support a "-r" switch to specify
> > the revisions that you want to view. If it did, the equivalent of
> > Chris' git script would be something like:
> >
> > cur=`hg log -r tip --template "{rev}"`
> > hg pull -u "$@"
> > thg log -r "$cur:"
> >
> > I know you can already enter revsets in the thg workbench, so it would
> > "simply" need to take the command line parameter and pre-fill the
> > revset search field...
>
> This sounds like a sensible idea. I'm sure upstream thg accept patches.
It will need a different switch than "-r". "thg log" should be able to
a) filter by the given revset
b) or select (go to) the given revision.
"thg annotate -r" does (b).
Regards,
More information about the Mercurial
mailing list