[darcs-devel] [issue2084] wish: darcs show patch

Owen Stephens bugs at darcs.net
Thu Dec 13 14:34:42 UTC 2012


Owen Stephens <darcs at owenstephens.co.uk> added the comment:

Something like this:

    > darcs show patch --format '%an %d %n' $hash
    Owen Stephens<TAB>01/01/2012 00:00:00+00:00<TAB>This is my patch name

expected format specifiers:
    %a - author
    %an - author name
    %ae - author email
    %d - date
    %n - name
    %l - log
    %s - summary
    %c - changes
    ...

I suppose we should try and be consistent with what other VCSs provide
in their
format specifiers.

<TAB> could reasonably be \0 also.

I think that's what I would like it to look like.

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


More information about the darcs-devel mailing list