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

[PATCH] Create Patch for multiple files

From: Tobias Schäfer <tobiasschaefer_at_gmx.de>
Date: 2007-03-15 20:59:10 CET

Hi,

if multiple files are selected in a directory and these files have filenames
which start with a common prefix, then "Create Patch" fails.

Example in the sources of TSVN:

/command:createpatch /path:"C:
\Development\SVN\TortoiseSVN\src\TortoiseProc\LogDlg.cpp*C:
\Development\SVN\TortoiseSVN\src\TortoiseProc\LogDlg.h" /notempfile

This would currently determine
C:\Development\SVN\TortoiseSVN\src\TortoiseProc\LogDlg as the common
directory which is obviously wrong.

The attached patch fixes this. All tests in CTSVNPath pass, but please
review.

Should this be merged to 1.4.x?

Tobias

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

Received on Thu Mar 15 21:00:05 2007

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.