If you update your work space to the commit in question, I think you could
do::

fossil diff --from previous


Expanding on my suggestion for relative tags like "+2" or "-3", the
capability to specify a commit relative to an arbitrary specified commit
would be useful as well.



On Wed, Jan 22, 2014 at 6:29 AM, Lluís Batlle i Rossell <vi...@viric.name>wrote:

> On Wed, Jan 22, 2014 at 06:25:14AM -0500, Richard Hipp wrote:
> > On Wed, Jan 22, 2014 at 3:12 AM, Lluís Batlle i Rossell <
> vi...@viric.name>wrote:
> >
> > > Hello all,
> > >
> > > knowing the checkin hash, how can I get in cli the diff introduced by
> of
> > > the
> > > checkin? Similar to what appears in the checkin page on the ui.
> > >
> >
> > I think you have to know both the checkin hash and the parent check-in
> > hash.  Then:
> >
> >     fossil diff --from $parent --to $checkin
>
> Ok, thank you. That is how I was doing it until now, but I thought there
> should
> be "a comfortable way". :)
>
> It'd be nice to have a "fossil diff --checkin X" or so. As for git, I
> often use
> 'git show' to achieve that.
>
> Regards,
> Lluís.
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to