[darcs-users] -p behaves inconsistently

Jim Blandy jimb at red-bean.com
Thu Nov 2 23:47:50 UTC 2006


I'm very new to darcs, so this is probably pilot error, but the
following behavior has me very confused.  I'm using the
darcs-1.0.8-2.fc5 RPM, downloaded from FC5 extras.  I would like to
push one particular patch from the current directory's repository into
the repository in ../cvs (so named because it's also a CVS working
copy, if that makes a difference).  But while the -p option given to
'darcs changes' selects the patch that I want (dated Nov 2 14:06:14),
the same -p option given to 'darcs push' prompts for the patch I don't
want (dated Nov 2 10:47:28), and when I say 'n', doesn't offer me the
patch I do want.  I expected 'darcs push -p dwarf_expr_read_reg' to
offer to push the 14:06:14 patch only.

What am I doing wrong?

$ darcs changes
Thu Nov  2 14:06:14 PST 2006  Jim Blandy <jimb at codesourcery.com>
  * dwarf_expr_read_reg cleanup
  2006-11-02  Jim Blandy  <jimb at codesourcery.com>

        * dwarf2loc.c (dwarf_expr_read_reg): Use frame_unwind_register
        instead of frame_register.  Doc fix.

Thu Nov  2 10:47:28 PST 2006  Jim Blandy <jimb at codesourcery.com>
  * Move 'enum lval_type' from defs.h to value.h.
  * defs.h (enum lval_type): Move this from here...
  * value.h (enum lval_type): To here.
  Don't #include "frame.h" any more.
  (struct frame_id): Add forward declaration for structure.
  * frame.h: #include "value.h" here, for enum lval_type.
  * symfile-mem.c, valarith.c, value.c: Explicitly #include
  "frame.h".  These files use definitions from that file, but were
  only #including it implicitly via value.h.
  * Makefile.in (frame_h, value_h): Sub-#includes updated.
  (symfile-mem.o, valarith.o, value.o): Dependencies updated.

Thu Nov  2 10:34:28 PST 2006  Jim Blandy <jimb at codesourcery.com>
  * CVS 2006-11-2

Wed Nov  1 16:31:43 PST 2006  Jim Blandy <jimb at codesourcery.com>
  * Initialize temp obstacks to avoid FC5 warnings.

Wed Nov  1 16:30:04 PST 2006  Jim Blandy <jimb at codesourcery.com>
  * Initial import.
$ darcs changes -p dwarf_expr_read_reg
Thu Nov  2 14:06:14 PST 2006  Jim Blandy <jimb at codesourcery.com>
  * dwarf_expr_read_reg cleanup
  2006-11-02  Jim Blandy  <jimb at codesourcery.com>

        * dwarf2loc.c (dwarf_expr_read_reg): Use frame_unwind_register
        instead of frame_register.  Doc fix.
$ darcs push -p dwarf_expr_read_reg ../cvs
Pushing to "../cvs"...

Thu Nov  2 10:47:28 PST 2006  Jim Blandy <jimb at codesourcery.com>
  * Move 'enum lval_type' from defs.h to value.h.
  * defs.h (enum lval_type): Move this from here...
  * value.h (enum lval_type): To here.
  Don't #include "frame.h" any more.
  (struct frame_id): Add forward declaration for structure.
  * frame.h: #include "value.h" here, for enum lval_type.
  * symfile-mem.c, valarith.c, value.c: Explicitly #include
  "frame.h".  These files use definitions from that file, but were
  only #including it implicitly via value.h.
  * Makefile.in (frame_h, value_h): Sub-#includes updated.
  (symfile-mem.o, valarith.o, value.o): Dependencies updated.
Shall I push this patch? (1/?)  [ynWvpxqadjkc], or ? for help: n
You don't want to push any patches, and that's fine with me!
$ rpm -q darcs
darcs-1.0.8-2.fc5
$




More information about the darcs-users mailing list