[darcs-users] No patches selected

Tommy Pettersson ptp at lysator.liu.se
Thu Aug 16 17:15:20 UTC 2007


On Thu, Aug 16, 2007 at 01:19:42PM +0200, Aaron Kaplan wrote:
> I don't understand what's going on here.  Is this a bug?
> 
>     > darcs changes FEATUREFILES/features_event.xip
>     Changes to FEATUREFILES/features_event.xip:
> 
>     Wed Dec 13 11:03:42 CET 2006  sandor
>       * [project @ 2006-12-13 10:02:05 by sandor]
>     > darcs unpull -p 'project @ 2006-12-13 10:02:05 by sandor'
>     No patches selected!

There is likely a breakpoint after the patch, and it's sort of a
bug that darcs doesn't explain that.

Darcs should say something like:

  No patches selected!
  Stopped looking at tag <foo>.

Darcs stops looking at the first breakpoint for efficiency
reasons. Breakpoints are created at tags when you run Optimize.
If you say 'darcs unpull --from-tag <bar> -p <name>' darcs will
instead look at all patches between <bar> and the end of the
inventory. Or perhaps simpler 'darcs unpull --from-patch <name>
-p <name>'.


-- 
Tommy Pettersson <ptp at lysator.liu.se>



More information about the darcs-users mailing list