On 06/10/14 19:41, Scott Robison wrote:

Bah! Commit not conmit. Stupid phone keyboard.

On Oct 6, 2014 12:39 PM, "Scott Robison" <sc...@casaderobison.com <mailto:sc...@casaderobison.com>> wrote:

    On Oct 6, 2014 12:26 PM, "Stephan Beal" <sgb...@googlemail.com
    <mailto:sgb...@googlemail.com>> wrote:
    >
    > Hi, all,
    >
    > (This just happened...)
    >
    > The autosync option provides (incidentally, not specifically by
    design) a feature one doesn't have if it is turned off: the
    ability to abort a commit within a small (and unknown/varying)
    time frame.
    >
    > For example: the intention here was to commit a single file, but
    3 are actually modified:
    >
    > [stephan@host:~/cvs/fossil/cwal/s2]$ f com -m 'Minor build tweak.'
    > Autosync:
    http://step...@fossil.wanderinghorse.net/repos/cwal/index.cgi
    > ^C
    >
    > autosync gave me the time frame my brain needed to realize the
    mistake, giving me the opportunity to tap Ctrl-C.

    I have that functionality without auto sync. I don't use the -m
    comment option so I get a text editor showing me what has changed
    before I type the message. If I decide I need to not commit, I
    don't enter a message and fossil warns me allowing me to abort the
    conmit! :)


Or alternatively use a GUI. Here's mine:

http://wiki.tcl.tk/39369

Once you press the commit button it gives you a summary, e.g. "3/3 modified files are selected for checking in".

At which point you might notice and press the cancel button.

Hopefully soon I'll have the code available at www.p-code.org, I'm just going through the process of finding a suitable host. My first stop is TuxFamily, but we'll see ...

Regards




_______________________________________________
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