On Fri, Sep 11, 2015 at 9:11 AM, Richard Hipp <d...@sqlite.org> wrote:

> On 9/11/15, Stephan Beal <sgb...@googlemail.com> wrote:
> > On Fri, Sep 11, 2015 at 1:22 PM, Richard Hipp <d...@sqlite.org> wrote:
> >
> >> I'm not sure "--undo" is the right name for this option.  Other
> >> suggestions?
> >>
> >
> > --from-undo
> > or:
> > --from undo (special-case name)
> >
>
> The code on trunk now does "fossil diff --undo".  I'm very open to
> changes in the name of that option, though.  Maybe "--from-undo" is
> slightly better, but not a great deal.
>
> Adding support for "undo" as a special-case name of "--from" seems
> problematic since that would make it harder to do a diff against a
> branch named "undo".
>
> "fossil diff --versus-undo" maybe???
> --
> D. Richard Hipp
> d...@sqlite.org
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>


Looking at the "fossil checkout" command, there is ?VERSION? parameter and
this parameter can be replaced with "--latest".   Since the "fossil diff"
command already has ?--from VERSION? and ?--to VERSION?, perhaps a similar
convention can be used:

"fossil diff --from --update"  or  "fossil diff --to --update"

Not sure which would be more appropriate...
_______________________________________________
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