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

Re: Processing a patch-file

From: Mark Eichin <eichin_at_gmail.com>
Date: Tue, 9 Dec 2008 19:34:06 -0500

> Identifying files that should be deleted is harder because doesn't
> the diff just express that every line should be deleted? I don't
> think the patch command translates that to deleting the file. Or if
> it does, then you can use the above trick again, looking for status
> lines beginning with "!" and then using "svn rm" to tell Subversion
> they should be gone.

patch option " -E --remove-empty-files Remove output files that are
empty after patching" would take care of the deletion in that case,
but you'd still have to use svn status to figure out what svn removes
you need.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981932

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-10 01:34:58 CET

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.