[darcs-users] newbie question about 'darcs send'

Tommy Pettersson ptp at lysator.liu.se
Fri Apr 29 12:58:39 UTC 2005


On Fri, Apr 29, 2005 at 03:27:20PM +0300, Adrian Maier wrote:
> I've tried : 
>  darcs changes --from-patch=v5 --context  > ctx
>  darcs send -o patch_v6 --context ctx .
> 
> and it gave me this error :
> 
> Fail: bug in get_extra.
> Most likely this is caused by a bug that existed in darcs prior
> to version 1.0.1.  Details for dealing with this issue can be found
> at http://www.scannedinavian.org/DarcsWiki/Issues1_2e0_2e1

Did you use --from-patch?  It should be --to-patch or else
it won't work correctly.  The changes in the context file
should be those from the beginning of the repo (implicit if
you don't use a --from option) and --to some recent point.

In case this is confusing, the inventory of a repo is ordered
from the first added patches to the last added patches.
'darcs changes' prints the patches in reverse order.  That's
why --last is called last; it shows the latest added patches.


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




More information about the darcs-users mailing list