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

unpatchable `svn diff' when filename contains " - "

From: Axel Thimm <Axel.Thimm_at_ATrpms.net>
Date: 2006-10-28 23:30:49 CEST


when I create a diff with `svn diff' I get the following example for a
file containing spaces and hyphens:

Index: mytharchive/mythburn/themes/MythCenter - Autoplay/theme.xml
--- mytharchive/mythburn/themes/MythCenter - Autoplay/theme.xml (revision 11133)
+++ mytharchive/mythburn/themes/MythCenter - Autoplay/theme.xml (revision 11622)
@@ -9,13 +9,13 @@

But this fails on patch, as patch only reads until the first

patch: **** File mytharchive/mythburn/themes/MythCenter is not a regular file -- can't patch

This does not happen with conventionally diffed files. Can I get svn
diff to create such diff headers that also such files can be fed to
patch again?

Also is this considered a bug in svn diff? I would expect svn diff to
be always feedable to patch.


Axel.Thimm at ATrpms.net

  • application/pgp-signature attachment: stored
Received on Sat Oct 28 23:31:29 2006

This is an archived mail posted to the Subversion Users mailing list.