Mercurial vs git
श्रीधर नारायण दैठणकर
ghodechhap at ghodechhap.net
Fri Jan 5 05:49:39 UTC 2007
On Friday 05 January 2007 10:46, Josef "Jeff" Sipek wrote:
> On Thu, Jan 04, 2007 at 10:20:10PM -0500, Andy.Henshaw at gtri.gatech.edu
wrote:
> > git diff -diff-filter=MRC -name-status : in < 0.1 second on my machine,
> > tells me the name of every file that was changed between two branches or
> > commits.
>
> Modification, rename, copy to be exact ;)
I think style templates might fit the OP's need. By default hg diff does not
show the list of files involved but following does that.
------------------
changeset = 'rev: {rev}\nchangeset: {node}\n{tags}author: {author}\ndate:
{date|isodate}\ndesc:\n {desc|strip|escape}\n{files}{file_adds}{file_dels}\n'
start_tags = 'tags:'
tag = '\t{tag}\n'
start_files = '\nmodified:\n'
file = '\t{file}\n'
start_file_adds = '\nadded:\n'
file_add = '\t{file_add}\n'
start_file_dels = '\nremoved:\n'
file_del = '\t{file_del}\n'
------------------
Here is my ~/.hgrc
------------------
[ui]
debug = True
style = /home/shridhar/config/hglog.tmpl
------------------
So basically hg diff can list files changed between two changesets.
HTH
Shridhar
More information about the Mercurial
mailing list