[darcs-users] Viewing changes to a file

Alan Bram alan.bram at oracle.com
Mon Jan 14 19:56:13 UTC 2008


> > I am trying to view changes to a file. Not just the summary, but the
> > actual changes. And I have looked at the Darcs manual, been googling,
> > and searching mail archives. But I am yet to discover how to do that.
> >
> > Firstly, I would do this:
> >
> >  darcs changes CompileClasses.hs
> 
> 
> Try, darcs changes -i CompileClasses.hs
> 
> This will give you 'interactive' changes which allows you to view the
> contents of the patch.  You won't get one consolidated diff file between
> different tags or anything fancy this way, but you can look at the
> individual patches in the history.  Just type ? to look at the help once
> you're using the command; there are quite a few options.

You can also use "darcs changes -v ..." if you don't want to do the
interactive thing.  That also shows the actual changes.

> ....  Especially how to specify which patches I want.

There's a whole section in the manual on "Selecting patches".  Look
under "Common options to darcs commands".


Cheers,
 - arb


More information about the darcs-users mailing list