You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Axel Thimm <Ax...@ATrpms.net> on 2006/10/28 21:30:49 UTC

unpatchable `svn diff' when filename contains " - "

Hi,

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
space.

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.

Thanks!
-- 
Axel.Thimm at ATrpms.net