[darcs-devel] [issue329] Aborting --ask-deps does not abort the record

Trent Buck bugs at darcs.net
Wed Nov 1 08:36:00 PST 2006


New submission from Trent Buck <trentbuck at gmail.com>:

If you press `q' while selecting explicit deps, the patch is recorded
anyway.

    $ darcs --version
    1.0.8 (release)
    $ darcs --exact-version
    darcs compiled on Jul  4 2006, at 20:08:54
    # configured Fri Jun 16 14:55:21 EDT 2006
    ./configure --no-create --no-recursion

    Context:

    [TAG 1.0.8
    Tommy Pettersson <ptp at lysator.liu.se>**20060616160213]
    $ darcs init
    $ echo foo >foo
    $ darcs add foo
    $ darcs rec -am foo foo
    Recording changes in "foo":

    Finished recording patch 'foo'
    $ echo bar >bar
    $ darcs add bar
    $ darcs rec -am bar --ask-deps bar
    Recording changes in "bar":

    Thu Nov  2 03:31:47 EST 2006  Trent Buck <trentbuck at gmail.com>
      * foo
    Shall I depend on this patch? (1/?)  [ynWvpxqadjkc], or ? for help: q

    Depend on cancelled.
    Finished recording patch 'bar'
    $ darcs cha
    Thu Nov  2 03:32:09 EST 2006  Trent Buck <trentbuck at gmail.com>
      * bar

    Thu Nov  2 03:31:47 EST 2006  Trent Buck <trentbuck at gmail.com>
      * foo

I expected that the whole record operation to be aborted.

Is this the expected behaviour?  If so, what is the rationale for
behaving this way?
-- 
Trent Buck, Student Errant

----------
messages: 1164
nosy: EricKow, droundy, tommy, trentbuck
status: unread
title: Aborting --ask-deps does not abort the record

____________________________________
Darcs issue tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue329>
____________________________________




More information about the darcs-devel mailing list