[darcs-users] a bug with "darcs changes --reverse --index" ?

Benedikt Schmidt beschmi at gmail.com
Tue Mar 9 21:17:13 UTC 2010


Hi Mark,

Mark Stosberg wrote:
> 
> I was just using "darcs changes" with 2.4 and wanted to narrow down a
> list of 20 patches. 
> 
> I started with this:
> 
> darcs changes --reverse -i -p 7072 
> 
> I saw the patches I wanted to focus on were 9 through 20, so I did this:
> 
> darcs changes --reverse -i -p 7072 -n 9-20
> 
> I expected to see 11 patches returned but the result was..2.
> 
> It appears that I get the same 2 patches when I exclude "--reverse".
> 
> So perhaps there is a bug when combining these flags. When --reverse
> is used, shouldn't "--index" start counting from the other end?

are the indices you use consistent with the ones shown by --number? I 
just noticed that the numbering does not change with --reverse; the 
newest patch is always numbered 1.

Best,
   Benedikt



More information about the darcs-users mailing list