Actually both should work (the revision number or the other number, which is really just a hash of the changeset).
In this case it looks like their revision was 9966. These commands *should* be the same (and work on my system). The only difference in the output is a timestamp of when I ran the command. hg diff -r 9966 hg diff -r 5e8970397ab7 On Thu, Dec 5, 2013 at 10:14 AM, Amin Farmahini <[email protected]> wrote: > You need to specify a changeset number, like 9987. > > Amin > > > > On Thu, Dec 5, 2013 at 8:07 AM, senni sophiane > <[email protected]>wrote: > >> I tried "hg diff -r 5e8970397ab7" but I have the error : unknown >> revision '5e8970397ab7' ! >> >> Cordialement / Best Regards >> >> SENNI Sophiane >> Ph.D. candidate - Microelectronics >> LIRMM - www.lirmm.fr >> >> Le 05/12/2013 14:58, Mitch Hayenga a écrit : >> >> All mercurial commands have a built in help that explains their options >> ("hg help diff"). >> >> >> For this one you what "hg diff -r <revision>". >> >> >> Hope that helps. >> >> >> On Thu, Dec 5, 2013 at 6:44 AM, senni sophiane >> <[email protected]>wrote: >> >>> Hi all, >>> >>> I want to apply the command "hg diff" for the gem5 revision >>> 5e8970397ab7. I did not figure out how to do that. >>> Someone can help me please ? >>> >>> Thank you. >>> >>> -- >>> Cordialement / Best Regards >>> >>> SENNI Sophiane >>> Ph.D. candidate - Microelectronics >>> LIRMM - www.lirmm.fr >>> >>> _______________________________________________ >>> gem5-users mailing list >>> [email protected] >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>> >> >> >> >> _______________________________________________ >> gem5-users mailing >> [email protected]http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> >> >> >> _______________________________________________ >> gem5-users mailing list >> [email protected] >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
