Limit Hg log and equivalent of git-rebase?
Martin Geisler
mg at daimi.au.dk
Fri May 2 02:27:39 CDT 2008
"pradeep singh rautela" <rautelap at gmail.com> writes:
Hi!
> whenever i do a git log I get log with one page at a time automatically.
> with hg i get a continous rolling log. I have to use hg log | less or
> hg log -l $integer to limit it.
> Can hg log be made to by default show one page at a time instead of
> showing the full log so quiclky? Or is there already something in Hg
> which i am missing completely?
The pager extension does that. Try adding this to your .hgrc file:
[extensions]
hgext.pager =
[pager]
pager = less
quiet = True # This is only necessary if you get BROKEN PIPE messages.
> Is there something similar to git-rebase in mercurial?
The Mercurial Queues (MQ) extension allows you to edit changesets.
Please see:
http://www.selenic.com/mercurial/wiki/index.cgi/MqExtension
http://hgbook.red-bean.com/hgbookch12.html
For more about how history can be carefully edited, please see:
http://www.selenic.com/mercurial/wiki/index.cgi/EditingHistory
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20080502/56c89b13/attachment.pgp
More information about the Mercurial
mailing list