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

Re: Registry values OverlayExcludeList and OverlayIncludeList contain line-feeds

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-06-28 21:00:45 CEST

Kresten Birkegaard Jensen wrote:

> I resently updated the OverlayExcludeList and OverlayIncludeList's
> on our TSVN installations on our entire network. (150+ installations)
>
> I wanted to do this via a reg file containing the include and exclude
> lists.
>
> What I did:
> 1. Added the file paths to the include and exclude lists via TSVN settings
> 2. Used regedit to export the [HKEY_CURRENT_USER\Software\TortoiseSVN]
> section of the registry.
> 3. Deleted the OverlayExcludeList and OverlayIncludeList values from
> registry
> and tried to import them again.
>
> What Happened:
> Nothing :(
>
> What I expected:
> That the values would be added to registry

You know that this is not a bug in TSVN?

> Findings:
> 1. It seems that reg files are not able to handle linefeeds, and
> therefore the entries
> in the reg file which contain linefeeds are ignored.
> 2. TSVNCache.exe is not able to read the values if they are not
> separated by a
> linefeed.
>
> Workaround:
> Created C# program to input the values into registry with linefeeds.
>
> Suggestion:
> Change the format of the lists to comma separated instead of linefeed
> separated.

No can do. A comma (and every other char a reg file can handle) is a
perfectly valid char in a path. So we can't just use a char to separate
path, if the same char can appear inside such a path.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Jun 28 21:00:57 2006

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