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

Re: [PATCH] Clarify that 'svn patch' can only apply changes to targets that are dirs

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sun, 1 Aug 2010 20:23:07 +0300

Daniel Näslund wrote on Sun, Aug 01, 2010 at 16:36:22 +0200:
> resolve_target_path() makes a few assumptions about the target for a
> patch file beeing a wc_dir. Currently we can only invoke svn patch like
> this:
> Is this the intended behavoiour?

For patch files which contain hunks only for a single file (possible with
its properties), I (as a user) think it would make sense to support

        svn patch PATCH_FILE FILE_TO_PATCH

(where FILE_TO_PATCH may have a different basename than predicted by
PATCH_FILE, even.)

IIRC, patch(1) supports this too.
Received on 2010-08-01 19:25:12 CEST

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.