On 02/17/2012 10:49 PM, Michael Hendricks wrote:
[...]
For the following questions, I'm using darcs 2.5.2 installed from
Hackage via cabal.
Is it possible to colorize diff command output? I've set
DARCS_ALWAYS_COLOR=1 and DARCS_DO_COLOR_LINES=1. The output of `darcs
whatsnew` has color but `darcs diff --unified` is black and white.
I'd like for them both to have color.
I use
$ darcs diff -u | pygmentize -l diff
$ darcs diff -u | colordiff
should work as well.
[...]
In other version control tools, I will often look through recent
changes, find one that's interesting and then display its patch.
Subversion's log command displays a revision number and one can do
`svn diff -c 1234` to see the patch. Git`s log command shows a commit
hash allowing one to run `git show abcde123` to see the patch. The
best I've found in darcs is `darcs changes --number` followed by
`darcs diff -n 1234`. Do patches have a more permanent identifier
that I should be using instead?
For this workflow, couldn't you just use
$ darcs changes --interactive
? You wouldn't even have to remember a number.
> [...]
-- Steffen
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users