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

RE: Filenames in the repository and in the working copy - what's legal?

From: Gavin Lambert <gavinl_at_compacsort.com>
Date: 2006-08-29 00:17:59 CEST

Quoth Tim Bingham <mailto:Tim.Bingham@comcast.net>:
> What are the Subversion rules for legal file names in a repository
> and how do the rules apply when making a working copy in a file
> system with different rules ? What's the expected (or preferred)
> behavior of clients (or the client-side library) when asked
> to create a file with a name that's not legal in the client file
> system ?

AFAIK Subversion doesn't try to do anything at all clever, which means
that if you've got problem filenames in your repository then they'll
simply fail to checkout properly.

It'd be nice if it did support some kind of auto-translation feature --
not just for characters that are illegal on one system or another, but
also for case-sensitivity issues (eg. where a repository created under
Linux contains files that differ only in case, and then someone tries to
check them out under Windows or OSX). Here's hoping it'll get added
sometime soon.

(As a quick suggestion for the dev team: if you don't want to support
auto-renaming [since I realise that can cause confusion], then how about
having a property like svn:alternate-name or something, where if the
'real' name of a file is invalid for the target OS or clashes with
another versioned file, then it uses the alternate name provided
instead. Wouldn't take long to track down the 'problem' files and then
give them the appropriate property.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 29 00:19:36 2006

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

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