monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] restrictions and SVN type branches/tags?


From: Tobias Hunger
Subject: Re: [Monotone-devel] restrictions and SVN type branches/tags?
Date: Tue, 3 Aug 2004 12:47:14 +0200
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 02 August 2004 23:20, Richard Levitte - VMS Whacker wrote:
> But this builds on subversion's implementation of branches and tags as
> new directories.  In monotone, branches and tags are special
> certificates connected to each version of a file, and has no
> association with directories at all, so basically, the above would be
> utterly meaningless.

Yes, I know. But if you can do lightwight copies of trees it is a really great 
idea to handle branching/tagging the subversion way. It feels very natural to 
my brain that got so used to thinking in filesystems (which of course is a 
very unnatural thing to begin with;-)

> I understand the reasons for the way subversion does it, at least as
> shown in the book.  monotone solves the problem they show (the you
> vs. Sally problem in chapter 4) a bit differently, by supporting
> several heads in any branch, as well as branching itself.

I agree. By having several heads the necessity of branching is greatly 
reduced.

What I have not yet figured out is how to copy files in monotone at all. Is 
that a missing feature or am I overlooking something? I tried just copying 
the file manually and then adding the new version, hoping that monotone would 
do the right thing based on the SHA values. Unfortunately those do not match 
(do you take tha path into account when calculating the SHA sums?) and the 
new file has lost all history information.

How can I copy/move files between branches? Let's assume I want to do a fresh 
start for a project already in a monotone repository. I start out with an 
empty directory in a new branch. How can I populate it with files from the 
'main' branch? With subversion this is of course done with a copy statement 
(as branches are just copies anyway).

PS: Sorry for sending all this to a -devel list.

- -- 
Gruss,
Tobias

- ------------------------------------------------------------
Tobias Hunger           The box said: 'Windows 95 or better'
address@hidden                     So I installed Linux.
- ------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBD202v0FZW3NyoqURAmWiAJ9gLdlPv1PhfDuPtl7CI2BTq9eQ9gCghBsd
DpDZXy/2anoI6fGim8SyTnk=
=EP+D
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]