Unable to copy svn repo to a new branch -
i have svn repo want create branch.
my current svn info gives me:
user@node directory $ svn info path: . url: svn://10.169.99.170/ilab/trunk/master repository root: svn://10.169.99.170/ilab repository uuid: 065c76b3-4556-42dd-b1f2-9738222b7d84
i trying create new branch out of , using below command:
user@node dir $ svn copy svn://10.169.99.170/ilab/trunk/master svn://10.169.99.170/ilab/branches/msd -m "creating msd branch" svn: path 'branches' not present
on svn server, directory looks like:
[root@svnnode ilab]# ls -ltrh total 28k -rw-r--r-- 1 root root 229 jun 7 14:52 readme.txt drwxr-xr-x 2 root root 4.0k jun 7 14:52 locks drwxr-xr-x 2 root root 4.0k jun 7 14:52 hooks -r--r--r-- 1 root root 2 jun 7 14:52 format drwxr-xr-x 2 root root 4.0k jun 7 14:53 conf drwxr-sr-x 6 root root 4.0k jul 15 17:08 db
is there missing ?
is there missing ?
yes: miss understanding "what done", "what happened" , "what these errors means"
ls -l
on repository filesystem totally useless: must see @ repository-tree, not fs, notsvn ls svn://10.169.99.170/ilab/
uselss too: can confirm shown in error-message "path 'branches' not present"- good branching policy in svn full branching of tree, not partial. root
svn://10.169.99.170/ilab
you'll better branch^/trunk
, not subtree of trunk svn copy
give hint possible , needed options: re-read , note "--parents : make intermediate directories" option, create (when used) missing directories in copy-target
Comments
Post a Comment