Hi Jeff.
I came across a nice procedure a while back to version control the /etc
directory on a linux machine in situ, but it applies just as easily to
My Documents.
1. Create a repository (svnadmin create)
2. Create your trunk, tags, branches directories (svn mkdir)
3. Create a directory called trunk/My Documents (svn mkdir)
4. Check out the directory /over your existing My Documents/ - remember,
it's just an empty My Documents directory in subversion.
5. In the My Documents directory, do an svn add.
This adds /all the files and folders /in My Documents into subversion
/in situ/. So when you commit (svn ci) your My Documents is now fully
version-controlled. No additional checkout is required.
Hope this helps,
Dan
Jeff Brewer wrote:
> Thanks Dan,
>
> I've spent some time reading the pdf and have managed to install
> tortoiseSVN on my computer.
>
> I have a repository set up at c:\SVNRepository.
>
> In "My Documents" I set up a test project folder called "aTestProject"
> and I've populated it with "trunk" "branches" and "tags"
> subdirectories as outlined in the manual. I think I've imported these
> directories (If I right-click on "aTestProject" directory and try to
> import it now it gives me an error message saying that the path to
> "trunk" already exists).
>
> So now I've created a test file, document1.txt and saved it into
> "aTextProject\trunk\document1.txt" and I'm trying to add it to source
> control. The manual (section 5.10) says I should select the file,
> invoke the tortoiseSVN menu and select "Add", but I'm not getting an
> "Add" menu option. The options I'm getting are:
>
> Repo-browser
> Help
> Settings
> About
>
> I've tried everything I can think of to add it to source control,
> including moving the file out then dragging and dropping it back into
> the aTextProject\trunk folder, but no dice. I'm sure I must have
> something set up wrong, but I don't know where to begin to look....any
> pointers would be very appreciated.
>
> Thanks,
>
> Jeff
>
> ----- Original Message -----
> *From:* Daniel Ford <mailto:daford@almaden.ibm.com>
> *To:* users@subclipse.tigris.org <mailto:users@subclipse.tigris.org>
> *Sent:* Tuesday, January 24, 2006 9:26 AM
> *Subject:* Re: [Subclipse-users] Help getting started
>
>
> Jeff,
> check out the manual for tortoiseSVN
> http://tortoisesvn.sourceforge.net/docs/nightly/TortoiseSVN_en.pdf
> The manual has a good description of how to set up a repository
> served up through apache, read chapters 3 & 4.
> BTW, tortoiseSVN is an excellent SVN tool.
>
> Dan Ford
>
Received on Mon Feb 27 23:07:23 2006