[darcs-users] Re: 'darcs annotate' output seems rather cryptic

Michael Milverton camel77 at iprimus.com.au
Tue Oct 5 01:04:41 UTC 2004


This feature would be handy. It would be a lot quicker just specifying short 
numbers rather than coming up with a regex or matching a string.




On Mon, 4 Oct 2004 01:46 am, Jamie Webb wrote:
> On Sun, Oct 03, 2004 at 07:09:29AM -0400, David Roundy wrote:
> > On Sat, Oct 02, 2004 at 04:49:14PM +0200, Nils Decker wrote:
> > > David Roundy <droundy at abridgegame.org> wrote:
> > > > But since darcs changes have long names, it is very hard to read.
> >
> > ...
> >
> > > Why bother? The number of the patches can be used as short identifiers
> > > for patches. I saw a suggestion to take the id of a patch from the xml
> > > output to use it with --patch 'hash xxx'. This seems to be a terrible
> > > UI. Even the first characters of a patch name are longer and possibly
> > > not distinctive enough.
> > > These patch numbers could also be used to annotate the lines of a file.
> > > The first few columns show the number of the patch. This works well in
> > > many cvs viewers.
> >
> > It would work, but then you'd still need to execute a second command to
> > find out which change patch #25 was.
>
> Mmm... so you leave to output of 'darcs changes' in another terminal
> for use as a legend while you browse annotations.
>
> > I don't in principle object to the
> > idea of using patch numbers, but don't see great reasons to either.
>
> If you know which patch you want to work with, e.g. because you just
> picked it out of a list, or it's the same one you just used with a
> different command, specifying it by number requires a lot less thought
> and keystrokes than coming up with a regex that will identify it.
>
> darcs annotate --numbers some/file
> darcs annotate -n25
> darcs unpull -n25
>
> -- Jamie Webb
>
> _______________________________________________
> darcs-users mailing list
> darcs-users at abridgegame.org
> http://www.abridgegame.org/mailman/listinfo/darcs-users

-- 
GNU/Linux: Secure, Stable, Free
Michael <camel77 at iprimus.com.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20041005/27065026/attachment.pgp 


More information about the darcs-users mailing list