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

Can I get a working copy "in place"?

From: Alan Chandler <alan_at_chandlerfamily.org.uk>
Date: 2002-11-04 23:48:35 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9xvlEuFHxcV2FFoIRAqkqAKCCutGYIfB0VY5+Yiyi4c29zGO6mACgm8D2
9S/LDo/PRZjgdu+fuSdNO3U=
=i4Mv
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 4 23:50:01 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.