You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Greg M <gm...@verizon.net> on 2004/02/01 03:51:02 UTC
Automatic checkin of unversioned files
Hi all,
You can read this whole rant or just skip to the line that reads "The bottom
line:"
I am using svn to manage all the files created by a small architecture firm.
The architects want the ability to occasionally go back to look at what the
plans looked like a day, a week, or a month ago. Subversion seemed perfect.
Whenever they needed to bring up an old revision, I either went in and did
it for them, or told them how to use TortoiseSVN to do it themselves.
Getting the files checked in to svn regularly proved to be the difficult
part.
I set up a batch file to run 'svn ci -m "Nightly commit"' every night. The
trouble was that no new files were being committed - only modifications to
files which were already under version control got committed. Deleted files
also weren't being marked as deleted from the repository either, but that
wasn't much of an issue.
The bottom line:
What is the easiest way to get svn to automatically commit *all* changes
(new files, deletions) in a working copy to the repository?
Thanks,
Greg Martyn
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Automatic checkin of unversioned files
Posted by Christophe Labouisse <ga...@tigris.org>.
On Sat, 31 Jan 2004 22:51:02 -0500
"Greg M" <gm...@verizon.net> wrote:
> The bottom line:
> What is the easiest way to get svn to automatically commit *all*
> changes(new files, deletions) in a working copy to the repository?
I think of two different ways:
- set up a web dav URL with autoversionning turned on, it may work,
- in your daily script before doing the svn ci you do an svn status,
grep lines starting with a "?", add the files, grep lines starting with
a "!" and delete the files.
--
Le cinéma en Lumière : http://www.lumiere.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org