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

Re: Can I get a working copy "in place"?

From: Zack Brown <zbrown_at_tumblerings.org>
Date: 2002-11-05 00:06:02 CET

On Mon, Nov 04, 2002 at 03:01:04PM -0800, Zack Brown wrote:
> On Mon, Nov 04, 2002 at 10:48:35PM +0000, Alan Chandler wrote:
> > I would like to set up repository with some files from /etc in it. Basically
> > every time I come to edit a file in /etc I would like to add it to the
> > repository so I have a record of changes to it.
>
> Create a repository for the particular files you want to edit. Create a
> working directory, where you will edit these files. Do your checkouts and
> checkins and edits in the working directory. Create symlinks in /etc, leading
> to the files in your working directory. Any time you want to edit a new file
> from /etc, move it into the repository and create a new symlink in /etc.

One more thing -- make sure the working directory is on the same
partition as /etc -- you may be grateful later. ;-)

Be well,
Zack

>
> Voila!
>
> Be well,
> Zack
>
> >
> > I tried this wholesale (by importing the whole of etc and then trying to check
> > it out again) but it wouldn't work. In frustration I deleted etc and then
> > checked out. All I can say is I am glad I had a backup - I had forgotten
> > about no symlinks.
> >
> > Is there an approach where I don't have to delete the directory before making
> > it a working copy? (especially since I don't necessarily want to import the
> > whole of /etc in to a repository but only the files that I am going to edit).
> >
> > One possible approach I was considering was make an empty repository (that I
> > will use for the /etc directory) and then checking it out into a dummy
> > directory and then moving the .svn directory that results into /etc, then svn
> > adding any file I want to include. I had a look at a .svn directory created
> > this way and it doesn't appear to have anything related to the actual
> > directory its in. Would this work?
> >
> > --
> > Alan Chandler
> > alan@chandlerfamily.org.uk
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: dev-help@subversion.tigris.org
> >
>
> --
> Zack Brown
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>

-- 
Zack Brown
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 5 00:06:33 2002

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

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