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

RE: Re: script to commit all unversioned/modified files in tree

From: Méresse Christophe <christophe.meresse_at_nagra.com>
Date: 2007-04-20 13:52:30 CEST

> > svn add --force <root_of_the_worskpace> svn commit
> > <root_of_the_worskpace> -m "a comment"
> >
> > And you can put this in a crontab (unix/linux) or in the task
> > scheduler (windows)
> >
> My (very limited) understanding is that it's not necessary for
> *versioned* modified files. Isn't that right?

Yes, for *versioned* modified files, the 'svn commit <root_of_the_worskpace> -m "a comment"' would be sufficient.

> I can see the need for scripted adds, and this seems safe
> enough, understanding that "auto-tracking" moves and copies
> aren't possible as per the FAQ.

The 'svn add --force <root_of_the_worskpace>' is there to deal with the new files (i mean added without the svn command).
 
> What about non-svn deletions of versioned files - I assume
> svn will notice and report, what important information would
> be missing - who deleted them, exactly when, what else?

Svn can report it with "svn status" with a ! (exclamation mark) before the file. And yes you will not have the information you mention (who and when).

I'm not exactly sure that I have really answered to your questions... ?

Regards
Christophe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 20 13:52:49 2007

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

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