You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by PAIRIS Thibault <tp...@fr.perenco.com> on 2008/09/09 16:14:33 UTC
Link a client directory to a different repository directory
Hello all,
I am upgrading a CVS server to SVN (clients and servers are all on
Windows). I used cvs2svn to convert the CVS repository to SVN
architecture. All went smooth except for one thing. For tidiness' sake,
all the files and directories that were at the root of the architecture
(it is an internal website) were put in a subdirectory ("root"). When
clients checked out the CVS repository, something moved the files from
the root subdirectory to the real root, so the client had a working
website architecture.
Now I have looked for the trick that does this in CVSNT, but I can't
find it. Neither do I in SVN. I have succeeded in getting the correct
website architecture in SVN by manually moving all the files from the
root directory to the real root, but I am a bit embarrassed by this
solution as it modifies the original structure of the repository.
Is there a way to do this exact same thing in SVN, having a different
repository architecture from what the clients get when they actually
check it out ? Or is the database-based architecture of SVN makes this
sort of trick useless anyway ?
Thanks in advance
Thibault Pairis.
This email is confidential and may contain privileged information. If you have received this email in error please notify the sender immediately and destroy this email and all attachments. Any unauthorised copying, disclosure, conversion to hard copy, distribution or use of any part of this email is strictly prohibited.
Le message contenu dans ce courrier ?lectronique est confidentiel et pourrait contenir des informations prot?g?es par le secret professionnel. Si vous avez re?u ce courrier ?lectronique par erreur veuillez contacter son exp?diteur et d?truire ce courrier ?lectronique ainsi que toute pi?ce jointe ?ventuelle. Toute reproduction, divulgation, impression, distribution ou utilisation non autoris?e de tout ou partie de ce courrier ?lectronique est strictement interdite.
Re: Link a client directory to a different repository directory
Posted by Sam Barnett-Cormack <s....@lancaster.ac.uk>.
PAIRIS Thibault wrote:
>
>
> Hello all,
>
> I am upgrading a CVS server to SVN (clients and servers are all on
> Windows). I used cvs2svn to convert the CVS repository to SVN
> architecture. All went smooth except for one thing. For tidiness’ sake,
> all the files and directories that were at the root of the architecture
> (it is an internal website) were put in a subdirectory (“root”). When
> clients checked out the CVS repository, something moved the files from
> the root subdirectory to the real root, so the client had a working
> website architecture.
>
> Now I have looked for the trick that does this in CVSNT, but I can’t
> find it. Neither do I in SVN. I have succeeded in getting the correct
> website architecture in SVN by manually moving all the files from the
> root directory to the real root, but I am a bit embarrassed by this
> solution as it modifies the original structure of the repository.
>
> Is there a way to do this exact same thing in SVN, having a different
> repository architecture from what the clients get when they actually
> check it out ? Or is the database-based architecture of SVN makes this
> sort of trick useless anyway ?
You could just check out the subdirectory for the working copies. An
awful lot of SVN working copies do this. Instead of
http://server/repository/ being your URL, use http://server/repository/root/
Sam
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org