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

Re: Can my entire home directory become a subversion working copy?

From: Eric Lee <pgeric_at_gmail.com>
Date: Sun, 11 Oct 2009 20:17:48 +0800

On Sun, Oct 11, 2009 at 7:53 PM, Carsten Koch <CarstenKochICEM_at_web.de>wrote:

> I am wondering if it would be possible to make my entire home directory
> a subversion working copy.
>
> Instead of doing backups, I would run
> svn commit ~ -m "`date`"
> every night. This would allow me to access every version of every file
> I ever had anywhere under my home directory.
>
> Unfortunately, it's not as simple as I would like it to be.
> Of course, I do not want to say "svn add" for every new file or
> directory I create and "svn delete" for everything I remove.
> I also would like all derived files (*.o, etc.) to be automatically
> excluded.
>

For importing files you currently works with.
You can issue the command svn import -m "the-import-message" [folder-name]

To excludes files that not to be versioned you can checkout the config file,
1.) window on %userprofile%\subversion\config with this line
global-ignores =

Sorry for that I'm never works with subverison on linux before.
Therefore only a way on windows.

In addition, you may check the subversion book on subversion.tigris.org.

> I would like to be able to check out subversion working copies
> that are also automatically excluded.
>
> One way of solving all this might be to maintain a working copy
> separately from my home directory and writing python code that
> mirrors most things from the home directory to the working copy,
> automatically creates "svn add" and "svn delete" commands, etc.
>
> Is there an easier way to do all this?
>
> Has somebody perhaps already implemented it?
>
> Any thoughts and pointers are welcome!
>
> Thanks,
> Carsten.
>
> ------------------------------------------------------
>
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2406347
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe_at_subversion.tigris.org].
>

-- 
bLOG - sMALL-pOTATOS[dot]blogspot[dot[com
Site    - lightstudios[dot]co[dot]cc
Eric
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2406350
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-11 14:18:39 CEST

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