[darcs-users] 'darcs record' fails with 'Non-exhaustive patterns'

Philip Martin philip at codematters.co.uk
Wed Apr 16 23:47:21 UTC 2003


David Roundy <droundy at jdj5.mit.edu> writes:

> I've uploaded new debs, which you can now get via apt.  I've held off on
> uploading a new tarball, as anyone who is compiling from source can
> relatively easily get the fix via my darcs repo.

Now using 0.9.5woody-2.

  $ mkdir foo
  $ cd foo
  $ darcs inittree
  $ echo bar > bar.c
  $ darcs add bar.c
  $ darcs record -a -m one -A pm at example.com
  $ darcs mv bar.c zig.c

Lookin good so far, but..

  $ darcs whatsnew
  Yikes, pending has conflicts!
  Yikes, pending has conflicts!
  move ./bar.c ./zig.c

Hmm, that might be a problem, but I'll proceed...

  $ darcs record -a -m two -A pm at example.com
  Yikes, pending has conflicts!
  Yikes, pending has conflicts!
  [one
  pm at example.com**Thu Apr 17 00:33:43 BST 2003] 
  Does your patch depend on this patch? [ynsh] y
  Unable to apply patch!

OK, rather than do that, I'll back it out...

  $ darcs revert
  Yikes, pending has conflicts!
  Yikes, pending has conflicts!
  If you are serious, I will revert the following:
  move ./bar.c ./zig.c
  Do you really want to do this? y
  If you're serious, type `I am deadly serious.'
  I am deadly serious.
  Error.  Unable to apply inverse patch!

-- 
Philip Martin




More information about the darcs-users mailing list