Hi,
I would like to create a branch in our repository. I'm not sure what I have to do exactly. Is the following command correct?
svn copy http://svn.reactos.com/trunk/reactos http://svn.reactos.com/branches/cache_manager_rewrite/reactos
- Hartmut
-----Original Message----- From: ros-dev-bounces@reactos.com [mailto:ros-dev-bounces@reactos.com] On Behalf Of Hartmut Birr Sent: 13. februar 2005 18:40 To: ReactOS Development List Subject: [ros-dev] creating a branch
Hi,
I would like to create a branch in our repository. I'm not sure what I have to do exactly. Is the following command correct?
svn copy http://svn.reactos.com/trunk/reactos http://svn.reactos.com/branches/cache_manager_rewrite/reactos
- Hartmut
That is almost correct. You need to use svn:// instead of http://. You also need to specify a commit message (-m "Created cache_manager_rewrite branch").
See http://svnbook.red-bean.com/en/1.1/ch04.html for more information.
Casper
Casper Hornstrup schrieb:
-----Original Message----- From: ros-dev-bounces@reactos.com [mailto:ros-dev-bounces@reactos.com] On Behalf Of Hartmut Birr Sent: 13. februar 2005 18:40 To: ReactOS Development List Subject: [ros-dev] creating a branch
Hi,
I would like to create a branch in our repository. I'm not sure what I have to do exactly. Is the following command correct?
svn copy http://svn.reactos.com/trunk/reactos http://svn.reactos.com/branches/cache_manager_rewrite/reactos
- Hartmut
That is almost correct. You need to use svn:// instead of http://. You also need to specify a commit message (-m "Created cache_manager_rewrite branch").
See http://svnbook.red-bean.com/en/1.1/ch04.html for more information.
Casper
Hi,
I get the following error message on the copy command:
svn: Out of date: 'branches/cache_manager_rewrite' in transaction '13531-1'
I think that this message comes from server and has nothing to do with my local source tree. What should I do?
- Hartmut
Hi,
I get the following error message on the copy command:
svn: Out of date: 'branches/cache_manager_rewrite' in transaction '13531-1'
I think that this message comes from server and has nothing to do with my local source tree. What should I do?
- Hartmut
Can you show me the full command?
Does it happen again if you retry the command?
Casper
Casper Hornstrup schrieb:
Hi,
I get the following error message on the copy command:
svn: Out of date: 'branches/cache_manager_rewrite' in transaction '13531-1'
I think that this message comes from server and has nothing to do with my local source tree. What should I do?
- Hartmut
Can you show me the full command?
Does it happen again if you retry the command?
Casper
Ros-dev mailing list Ros-dev@reactos.com http://reactos.com:8080/mailman/listinfo/ros-dev
Hi,
I've used the following command line:
E:\Sandbox\ros_mp\reactos>d:\programme\subversion\bin\svn.exe copy svn://svn.reactos.com/trunk/reactos svn://svn.reactos.com/branches/cache_manager_rewrite/reactos -m "Created cache_manager_rewrite branch"
The result is always this:
svn: Out of date: 'branches/cache_manager_rewrite' in transaction '13531-1'
I'm using this client:
E:\Sandbox\ros_mp\reactos>d:\programme\subversion\bin\svn.exe --version svn, Version 1.1.1 (r11581) übersetzt Oct 23 2004, 14:47:47
Copyright (C) 2000-2004 CollabNet. Subversion ist Open Source Software, siehe http://subversion.tigris.org/ Dieses Proukt enthält von CollabNet entwickelte Software. (http://www.Collab.Net/)
Die folgenden ZugriffsModule (ZM) für Projektarchive stehen zur Verfügung:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol. - behandelt 'http' Schema - behandelt 'https' Schema * ra_local : Module for accessing a repository on local disk. - behandelt 'file' Schema * ra_svn : Module for accessing a repository using the svn network protocol. - behandelt 'svn' Schema
- Hartmut
Hi,
I've used the following command line:
E:\Sandbox\ros_mp\reactos>d:\programme\subversion\bin\svn.exe copy svn://svn.reactos.com/trunk/reactos svn://svn.reactos.com/branches/cache_manager_rewrite/reactos -m "Created cache_manager_rewrite branch"
The result is always this:
svn: Out of date: 'branches/cache_manager_rewrite' in transaction '13531-1'
I think I know what the problem is. Svn copy can't create parent directories.
Try this: svn mkdir svn://svn.reactos.com/branches/cache_manager_rewrite -m "Created cache_manager_rewrite branch"
svn copy svn://svn.reactos.com/trunk/reactos svn://svn.reactos.com/branches/cache_manager_rewrite/reactos -m "Created cache_manager_rewrite branch"
The error message is highly confusing. I'll report it to the Subversion team.
Casper
Casper Hornstrup schrieb:
Hi,
I've used the following command line:
E:\Sandbox\ros_mp\reactos>d:\programme\subversion\bin\svn.exe copy svn://svn.reactos.com/trunk/reactos svn://svn.reactos.com/branches/cache_manager_rewrite/reactos -m "Created cache_manager_rewrite branch"
The result is always this:
svn: Out of date: 'branches/cache_manager_rewrite' in transaction '13531-1'
I think I know what the problem is. Svn copy can't create parent directories.
Try this: svn mkdir svn://svn.reactos.com/branches/cache_manager_rewrite -m "Created cache_manager_rewrite branch"
svn copy svn://svn.reactos.com/trunk/reactos svn://svn.reactos.com/branches/cache_manager_rewrite/reactos -m "Created cache_manager_rewrite branch"
The error message is highly confusing. I'll report it to the Subversion team.
Casper
Hi,
creating the directory with mkdir was the trick. Thank you very much.
- Hartmut
Hi Hartmut,
I thought you might be interested in the attached code. I'm not sure if it will be usefull, but I just didn't want to trash it right away. ;-)
Regards, Filip
Filip Navara wrote:
Hi Hartmut,
I thought you might be interested in the attached code. I'm not sure if it will be usefull, but I just didn't want to trash it right away. ;-)
Regards, Filip
Sorry, I didn't mean to post this to the list...Anyway, too late :-(