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

thoughts about svnpatch

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 22 Jun 2009 21:09:15 +0200

Hi,

I'm currently playing around with the new svnpatch feature. I haven't
got it working quite yet though, but I'd like to propose some
changes/enhancements:

* applying an svnpatch file only works if the patch file is applied to a
working copy. Would it be possible to make this work for unversioned
source trees too?
* I'm missing a dry-run function to preview what applying the patch
would do - there's a 'dry-run' variable in the patch code, so I guess
this is already planned?
* I would also like to have some kind of filter for svn_client_patch so
only items which match the filter will actually get patched. That way I
can present the user with a list of affected items (with the dry-run
feature) and then let the user choose which of the items (s)he actually
wants to patch.
* does the svn_client_patch() only work with svnpatch files or also with
unified diff files? From browsing through the code I think it should?

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2364255

Received on 2009-06-22 21:09:36 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.