You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Steven Romej <st...@yahoo.com> on 2004/09/08 15:42:38 UTC

Circumvent svn (add|delete) ?

Recently I became obsessed with versioning and
tracking a lot of my files.  I've been playing around
with subversion on my music folders in particular.

In order for changes to be tracked and appropriately
commited I need to do "svn add" if I add a new music
file, and "svn delete" if I delete a file.  

I was curious if there's a way to just have svn accept
my deletions or additions without explicitly
scheduling them via the svn add|delete commands.

That way I could occasionally do a commit and any
files I added or deleted (through Nautilus or Windows
Explorer, eg) would be committed.

It seems that adding 5 new music files would require
me to go in and type "svn add" a few times, which is
unnatural (then again, so might be versioning my music
directory).


Also, in the same vein, is there a way to tell
Subversion to not worry about what's in a binary file,
only look at its name and the directory structure it's
in?  (e.g., the contents of my mp3's or jpegs won't
change; but the number and name and folders they're in
will).
Thanks,

Steve


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Circumvent svn (add|delete) ?

Posted by Toby Johnson <to...@etjohnson.us>.
Steven Romej wrote:

>Recently I became obsessed with versioning and
>tracking a lot of my files.
>
I know what you mean! Having your own version control server is 
addictive. I use Password Corral to store all my passwords in a master 
encrypted list, but always became annoyed when I would have to remember 
to add passwords to each computer I use. It stores its data in a text 
file, so now I use Subversion to keep all copies synchronized. I simply 
add or change an entry in once place and it merges it to all the others.

>I was curious if there's a way to just have svn accept
>my deletions or additions without explicitly
>scheduling them via the svn add|delete commands.
>
>That way I could occasionally do a commit and any
>files I added or deleted (through Nautilus or Windows
>Explorer, eg) would be committed.
>
>It seems that adding 5 new music files would require
>me to go in and type "svn add" a few times, which is
>unnatural (then again, so might be versioning my music
>directory).
>  
>
Are you using TortoiseSVN? It lets you do an "add" of your working 
copy's top-level directory, and it will recursively figure out which 
files need to be added instead of you having to explicitly add each one. 
I believe Subversion 1.1 will allow this from the command line as well, 
but I could be mistaken.

The other option would be to expose your repository using a WebDAV 
interface, in which additions and deletions immediately take affect in 
the repository. This will work only if you use the Apache server, of 
course. See the Appendix in the Subversion Book for more info on your 
platform.

Steven Romej wrote:

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org