On Wed, Jan 22, 2014 at 6:58 PM, Ron Wilson <ronw.m...@gmail.com> wrote:

> 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.
>

There's a potential problem there: when a checkin has multiple parents,
such an identifier is ambiguous.

That feature/idea has been floated several times over the past years, but
AFAIR it hasn't been seriously experimented with. Sunday this week is set
aside for programming, and next week i'll have an unusual amount of free
time because my dog will be out of town with his mother (so no dog duty for
me next week). If we can come up with a reasonable notation, sensible
semantics, and some SQL to traverse the parents, i'll be able to take a
whack at this.

That said, i like Lluis' idea of:

fossil diff --checkin uuid

as a shortcut for "diff the given uuid against its parent," with the caveat
that a multi-parent checkin might need to toss an error there. That would
cover the most common case, i think.

:-?

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
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