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

Re: Bug: TSVN generates absolute filenames in patch file

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-01-26 11:26:42 CET

On 1/26/06, Ivan Zhakov <chemodax@gmail.com> wrote:

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

How did you create that patch exactly? What did you right-click on?
What did you select in the dialog?

Stefan

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jan 26 11:26:50 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.