You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Troy Bull <TB...@ifmc.org> on 2007/09/12 13:11:13 UTC
Help With svn commit
Greetings
I am using svn to keep a backup of a bunch of PDF files. My basic workflow is as follows:
rsync pulls the pdf files and directories to my local machine into a working copy, then I commit my working copy and any changed pdf's are "sent" to the repository. This allows me a great backup strategy I can get back anything I want at any time. This worked great up until last night one of the directories was removed (it was supposed to be removed). The problem is when I commit I get a complaint that
svn: Directory /some/dir is missing
and the commit fails. Is there some way I can commit and have it auto delete anything missing from the working copy?
Thanks
Troy
"CONFIDENTIALITY NOTICE: This communication, including any attachments, may contain confidential information and is intended only for the individual or entity to whom it is addressed. Any review, dissemination, or copying of this communication by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and delete and destroy all copies of the original message."
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Help With svn commit
Posted by Andy Levy <an...@gmail.com>.
On 9/12/07, Troy Bull <TB...@ifmc.org> wrote:
> Greetings
>
> I am using svn to keep a backup of a bunch of PDF files. My basic workflow is as follows:
>
> rsync pulls the pdf files and directories to my local machine into a working copy, then I commit my working copy and any changed pdf's are "sent" to the repository. This allows me a great backup strategy I can get back anything I want at any time. This worked great up until last night one of the directories was removed (it was supposed to be removed). The problem is when I commit I get a complaint that
>
> svn: Directory /some/dir is missing
>
> and the commit fails. Is there some way I can commit and have it auto delete anything missing from the working copy?
Treat the PDFs pulled via rsync like a "Vendor Branch" and use
svn_load_dirs.pl to work out all the changes for you. See
http://svnbook.red-bean.com/en/1.4/svn.advanced.vendorbr.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org