[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Use of Subversion to track existing directory

From: Robert Paulsen <robert_at_paulsenonline.net>
Date: 2006-03-19 21:28:40 CET

On Sunday 19 March 2006 09:38, Ryan Schmidt wrote:
> On Mar 19, 2006, at 16:22, Saulius Grazulis wrote:
> > I was also thinking that in-the-repo commands will add multiple
> > revision up to
> > this minute, but I have just checked -- you can create all
> > structure with a
> > single 'svn mkdir' command (and thus with a single revision):
> >
> > svn mkdir file://path/to/repo/{trunk,branches,tags}
> >
> > Which is just a shortcut for:
> >
> > svn mkdir file://path/to/repo/trunk file://path/to/repo/branches
> > file://path/to/repo/tags
>
> Indeed, I didn't know svn mkdir accepted multiple URLs. That works
> great! I'll have to remember that.
>

Ryan and Saulius,

Thanks for the info. "svn mkdir" was the key.

I did basically the following:

        svnadmin create /path/to/repos/mydata
        svn mkdir file:///path/to/repos/mydata/{trunk,tags,branches}
        cd /some/path/ # contains mydata as subdir
        svn co file:///path/to/repos/mydata/trunk mydata
        cd mydata
        svn add *
        svn ci
        svn copy file:///path/to/repos/mydata/trunk \
                  file:///path/to/repos/mydata/tags/initial

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Mar 19 21:29:23 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.