Hello,

We're currently using a darcs v.1 based repository.  We clearly want to move to 
v.2.  Our developers all have many branches off of our "main" repository where 
we (as expected), make our own local changes and try out different bits of code.

I'd like to know whether the following is a safe and suggested form of 
converting:

main repository (version 1): /home/user/main
branch repository (version 1): /home/user/main-branch

commands:
--
darcs convert /home/user/main /home/user/main_2
darcs convert /home/user/main-branch /home/user/main-branch_2

cd /home/user/main-branch_2
darcs send -o branch.darcs /home/user/main_2

cd /home/user/main_2
darcs apply /home/user/main-branch_2/branch.darcs
--

I know from the warning message upon conversion that interoperating between two 
darcs-converted branches is not allowed (main_2, and main-branch_2 are 
incompatible).  In testing this with a push, darcs failed with an error 
messsage which I took to prove just that.  However, in applying email patches 
via two darcs-converted branches as I have done above, darcs doesn't complain, 
and subsequent operations on the repository work fine.

If anyone knows whether the above method is a truly legitimate way of 
conversion, I would greatly appreciate it - this would cut down on conversion 
time substantially for us.

thank you,
-lev
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to