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

Re: How do I force Tortoise to ignore certain files and continue to checkout

From: Kevin Grover <kevin_at_kevingrover.net>
Date: Mon, 19 May 2008 18:11:15 -0700

On Mon, May 19, 2008 at 6:06 PM, Kevin Radke <kmradke_at_gmail.com> wrote:
> Kevin Grover wrote:
>>
>> On Mon, May 19, 2008 at 10:11 AM, Jonathan Mast
>> <jhmast.developer_at_gmail.com> wrote:
>>>
>>> I have some files in SVN on Linux that are in form "Foo::Bar" which is
>>> obviously illegal in Windoze. I want to checkout the entire project, but
>>> tortoise fails when it reaches these files. I don't need to do anything
>>> with these particular files and I'm wondering how I can tell tortiose
>>> just
>>> to continue on checking out files when it encounters such problems.
>>>
>>> thanks
>>>
>>
>> You can't. You can either rename the files (in the repository) so
>> that they are legal under Windows, or don't check out that path under
>> Windows.
>
> I guess the better question is "Can TortoiseSVN be enhanced to allow
> it to ignore files with invalid file names?"
>
> My guess is that this would need to be added to the core svn libs,
> and not TortoiseSVN, but it would be nicer if this could be made a warning
> instead of a fatal error...
>

TSVN could probably be modified to do this, but it's not a good
solution (IMO). If you truly need the inter-OS dependency, just use a
pre commit hook script on the server to check filenames and dis-allow
commits that violate your os-independence rules. You'd, of course,
have to 'svn rename' any current violators first. This assumes you
have control over the server, if not, I guess you'd be out of luck.

It's also possible that the new TSVN scripts could do it, but I don't
know anything about them.

- Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-05-20 03:12:00 CEST

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

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