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

Re: [TSVN] Patch for SaveAs bug in LogDlg.cpp

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-09-14 20:25:04 CEST

Simon Large wrote:
> I tried saving the TortoiseBlame icon at rev 1640 to file, out of curiosity
> and found a minor naming bug. From ShowLog context menu, Save revision to
> file... the name suggested was TortoiseBlame-1640..ico (with double dot
> before extension).
>
> CString.Left(n) and CString.Mid(n) cover the complete string between them,
> so there is no need to include a '.' in the Format.
> The attached patch fixes this.
>
> It also changes the condition for putting the revision _after_ the dot:
>
> rfind < 0: fred -> fred-rev
> rfind > 0: fred.txt -> fred-rev.txt
> rfind == 0: .fred -> .fred-rev (rather than -rev.fred)

Thanks. Tested and applied in revision 1689.

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 Tue Sep 14 21:34:12 2004

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