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

Bug: TSVN generates absolute filenames in patch file

From: Ivan Zhakov <chemodax_at_gmail.com>
Date: 2006-01-26 11:07:54 CET

Hi!
TortoiseSVN 1.3.1 generates absolute filenames in patch file, like this:
Index: C:/Ivan/Subversion/svn-vs2003/win-tests.py
===================================================================
--- C:/Ivan/Subversion/svn-vs2003/win-tests.py (revision 18200)
+++ C:/Ivan/Subversion/svn-vs2003/win-tests.py (working copy)
@@ -150,7 +150,7 @@
   aprutil_dll_path = os.path.join(aprutil_path, objdir, 'libaprutil.dll')
   apriconv_path = get(cp, 'options', '--with-apr-iconv', 'apr-iconv')
   apriconv_dll_path = os.path.join(apriconv_path, objdir, 'libapriconv.dll')
- apriconv_so_path = os.path.join(apriconv_path, objdir, 'iconv')
+ apriconv_so_path = os.path.abspath(os.path.join(apriconv_path,
objdir, 'iconv'))

   copy_changed_file(apr_dll_path, abs_objdir)
   copy_changed_file(aprutil_dll_path, abs_objdir)

Therefore such patch files cannot be applied on other machine.

--
Ivan Zhakov
Received on Thu Jan 26 11:08:05 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.