On Sun, 6 Jan 2008, Namita Iyer wrote: > > Saifi Khan wrote: > > Hi all: > > > > How does one mirror and update an existing SVN repository ? > > > > In the current scenario, i've got KDE sources in /opensource/svn > > directory. These sources were checked in from the sources untar'ed > > from the packages shipped for the distro. > > > > i'd like to update the local repository with the code in KDE svn > > repository labelled with 3_5_7. > > > > Any suggestions on how to go about doing this ? > > -- > > thanks > > Saifi. > > > > Hi Saifi, > > I have not worked with SVN, so not sure how it keeps its metadata. > I also dont see any metadata under the trunk directory at > http://websvn.kde.org/trunk/. > > If it were a CVS repository it would have metadata directories > and files (like Entries, Repository and Root files) and all you would > have to do is set the CVSROOT and run 'cvs update'. > > Maybe something similar needs to be done for SVN. > You may find something in this book: > http://svnbook.red-bean.com/ > > Namita >
For a large package, it is a waste of time to try and download the same package with meta-data information. What i have in mind is that . a tar'gz'd package would have the same structure as the one in the repository (applicable in most of the cases) . a svn/cvs repository is available in a text format. Perhaps, a 'rsync' between the two directories with my local directory as 'slave' dir should fetch all the meta data. thanks Saifi.

