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

RE: [TSVN] Re: Re: Tag/Branch name checking suggestion.

From: Hughes, Bill <Bill.Hughes_at_cox.co.uk>
Date: 2005-01-20 15:21:21 CET

Simon Large wrote:
> Will Dean wrote:
>> At 22:45 19/01/2005 +0100, you wrote:
>>
>>> see
>>>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-
> us/fileio/base/naming_a_file.asp
>>>
>>> It does not catch all naming errors (like ".."), but it might be a
>>> good start.
>>
>> It seems a reasonable approach. If we pass it a URL, we would need
>> to skip past the "protocol:" bit.
>
> Which is not so easy. How do you know where the protocol and remote FS
> ends and the repository begins?
But there are only a few valid protocols for tsvn to search for aren't
there?
Checks for 'file:///' etc starting the URL could be hard coded with no risk,
at least none that I can see. It's how they're supposed to be used isn't it?

> In both cases it would be fairly easy to check for paths
> ending in CON,
> AUX, etc. Because almost no-one uses those features anymore,
> it would be
> easy to forget that they are still invalid filenames.
Which virtually guarantees that someone having trouble with it will appear
on the list :-)

Bill

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
This e-mail transmission is strictly confidential and intended solely
for the person or organisation to whom it is addressed. It may contain
privileged and confidential information and if you are not the intended
recipient, you must not copy, distribute or take any action in reliance
on it. If you have received this email in error, please reply to the
sender as soon as possible and delete the message. Please note that we
are able to, and reserve the right to, monitor e-mail communications
passing through our network.
The views expressed in this email are not that of the company unless
specified within the message.
The inclusion of this footnote indicates that the mail message and any
attachments have been checked for the presence of known viruses.
If you have any comments regarding our policy please direct them to
postmaster@cox.co.uk
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jan 20 15:24:54 2005

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.