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

Re: Adding forgotten files to a svn repository

From: Zack Brown <zbrown_at_tumblerings.org>
Date: 2002-11-05 15:18:03 CET

On Wed, Nov 06, 2002 at 02:36:13AM +1300, Adam Warner wrote:
> Hi all,
>
> I'm very impressed with svn, thanks.
>
> If you've been a dunce and added a number of additional files to a number
> of different directories in a checked out repository without remembering
> to "add" those files as you created them, what is the best way to get them
> all into the repository?

Check the repository out into a working directory, and do a diff on the
two directories. Add all files missing from the repository.

>
> And in situations where you routinely add files (e.g. web server content),
> is there a way for subversion to automatically commit new files? Perhaps
> its a misuse of subversion to want to also use it as an incremental backup
> strategy. Without new files automatically added to the repository it's
> easy to overlook that a file hasn't been backed up.

cron?

>
> Thanks,
> Adam
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>

-- 
Zack Brown
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 5 15:18:44 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.