[darcs-users] getting different versions of a file

David Roundy droundy at darcs.net
Thu Jan 17 17:00:24 UTC 2008


On Thu, Jan 17, 2008 at 11:54:54AM -0500, Ross Boylan wrote:
> On Thu, 2008-01-17 at 11:29 -0500, David Roundy wrote:
> > On Jan 17, 2008 11:24 AM, Ross Boylan <ross at biostat.ucsf.edu> wrote:
> > > darcs diff gets me a patch, but how do I get an earlier version of a
> > > file?
> > 
> > darcs show contents --help
> $ darcs show contents --help
> 
> darcs failed:  Invalid command 'show'!
> 
> Is it a darcs2 only command?

Ah, yes, so it is.  It's just that it was added before I took over as
maintainer, so I didn't realize that.

The easiest might be to get a scratch repo and obliterate.

> Also, I was trying to look at the binary diff with
> $ darcs send -p disable -o dpatch .
> but get
> No recorded local changes to send!
> 
> darcs changes -p disable does list a patch (which has only binary
> differences).

Just use darcs changes -p disable -v or darcs annotate -p disable (possibly
with -u).
-- 
David Roundy
Department of Physics
Oregon State University


More information about the darcs-users mailing list