[darcs-devel] [issue1290] darcs diff: -n option seems broken

Gian Piero Carrubba bugs at darcs.net
Sun Dec 28 13:18:45 UTC 2008


New submission from Gian Piero Carrubba <gp-ml at rm-rf.it>:

* Actions to reproduce:

Given a populated repository:

$ darcs changes
Sun Dec 28 12:28:48 CET 2008  "Gian Piero Carrubba" <gp-ml at rm-rf.it>
  * third record

Sun Dec 28 11:07:20 CET 2008  "Gian Piero Carrubba" <gp-ml at rm-rf.it>
  * second record

Sun Dec 28 11:06:52 CET 2008  "Gian Piero Carrubba" <gp-ml at rm-rf.it>
  * initial record
$ darcs changes -n 1-2
Sun Dec 28 12:28:48 CET 2008  "Gian Piero Carrubba" <gp-ml at rm-rf.it>
  * third record

Sun Dec 28 11:07:20 CET 2008  "Gian Piero Carrubba" <gp-ml at rm-rf.it>
  * second record
$ darcs diff -n 1-2

darcs failed:  Pattern not specified in get_first_match.
$ 

* Expected behaviour:

Output of the content of selected patches (as outlined by darcs changes -n).

* Version:

v2.1.0 from Debian sid repository.

$ darcs -v
2.1.0 (release)
$ dpkg -l darcs
[..]
ii  darcs          2.1.0-1        a distributed, interactive, smart

I can't build the latest version from the darcs.net repository, but the
changelog doesn't tell anything meaningful (to me) about this matter so
I assume the behaviour hasn't been changed in the mean time.

Thanks,
Gian Piero.

----------
messages: 6922
nosy: dmitry.kurochkin, gp-ml, kowey, simon, thorkilnaur
status: unread
title: darcs diff: -n option seems broken

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1290>
__________________________________


More information about the darcs-devel mailing list