On Thu, 01 Dec 2005 06:35:06 +0100, Alberto Bertogli
[EMAIL PROTECTED] wrote:
On Wed, Nov 30, 2005 at 11:10:57PM +, Daniel Carrera wrote:
Richard A. Smith wrote:
darcs unpull
You can then select the patches you want to back out and the copy of
the
file you desire will be the version
David == David Rosenstrauch Rosenstrauch writes:
David How do I go back to see/compare various versions of a file?
Identifying a version in darcs is hard, since a version is
conceptually what you get when you apply a sequence of patches to an
empty repository. In order to have a handle,
Or let's say that I create a copy of my repo, and I'd like
to roll it back to, say, a tag that I placed a couple of
weeks back. How would I go about doing that.
darcs unpull
You can then select the patches you want to back out and the
copy of the
file you desire will be the
cp -r my_project/ my_branch/
Tip: that will work, but it's more efficient to do
darcs get my_project my_branch
Darcs will (if the platform supports it) hardlink the immutable metadata. In
other words, it will use up less disk space if you do it this way.
Regards,
Zooko
Yes. You can do darcs annotate file -p patch and parse the annotate
output. If you just want the file contents, write a script that parses the
XML output and show you the clean file.
If you need sample code, you can find it in darcsweb's annotate parsing.
Oh, well, it's too tempting;
I'm a bit of a darcs newbie here. I definitely am loving it so far, but am
still fleshing out some of the details.
How do I go about looking at older versions of a file with darcs? With CVS,
for example, I can use the history command, the log command, I can pull old
versions, etc. And in my
Also, is there such a concept as branches in darcs, and if so, how do I
accomplish that?
Thanks,
DR
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rosenstrauch, David
Sent: Wednesday, November 30, 2005 4:58 PM
To: darcs-users@darcs.net
Subject:
Rosenstrauch, David wrote:
Also, is there such a concept as branches in darcs, and if so, how
do I accomplish that?
cp -r my_project/ my_branch/
:-)
Darcs is a distributed SCM system. In other words, it's branches with
steroids! Literally, every copy of a repository is a branch. There is
OK, fair enough. I guess I actually knew that if I had thought about it a bit
more. (Sorry.) It just wasn't completely intuitive to me right off the bat.
I guess the version question is more what I'm interested in though.
How do I go back to see/compare various versions of a file?
Or let's
Rosenstrauch, David wrote:
How do I go back to see/compare various versions of a file?
Versions of files don't exist in darcs only patches that change files.
Or let's say that I create a copy of my repo, and I'd like to roll it back
to, say, a tag that I placed a couple of weeks back. How
Original Message
Subject: Re: [darcs-users] How to look at older versions of a file
Date: Wed, 30 Nov 2005 22:57:00 +
From: Daniel Carrera [EMAIL PROTECTED]
Organization: INGOTs
To: Rosenstrauch, David [EMAIL PROTECTED]
References:
[EMAIL PROTECTED]
Rosenstrauch, David
Richard A. Smith wrote:
darcs unpull
You can then select the patches you want to back out and the copy of the
file you desire will be the version you are interested in.
What would be really nice is to output the contents of one specific file
as it was before patch xyz was applied. I think
On Wed, Nov 30, 2005 at 11:10:57PM +, Daniel Carrera wrote:
Richard A. Smith wrote:
darcs unpull
You can then select the patches you want to back out and the copy of the
file you desire will be the version you are interested in.
What would be really nice is to output the contents of
13 matches
Mail list logo