[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: Re: Tag/Branch name checking suggestion.

From: Hughes, Bill <Bill.Hughes_at_cox.co.uk>
Date: 2005-01-20 16:43:11 CET

Simon Large wrote:
..snip..
> What I mean is: for a remote repository, how do you know which bit of
> the URL is within the repository and which bit is part of the server
> file tree. For example:
>
> http://server.company.com/dir-a/dir-b/bad:name{}/dir-c/dir-d/file
>
> Now can you tell where the top level of the repository is in that URL?
No, I see what you mean.
> Maybe it's dir-c in which case there is no way that
> bad:name{} can ever
> be checked out to a Windows client. But maybe it is dir-b - then some
> clients could check out bad:name{}, but not on Windows.
There are two things I can think of, neither of which I like much.
1) Parse the string, adding a section at a time, using the path separator,
and interrogate that as a locator until you find a repository.
2) Separate the repo location from the path within the repo as two fields in
the gui.
Both are ugly and/or slow :-(

>>> 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 :-)
>
> So it might be a good idea to warn them in advance?
Absolutely, but how do we get them to read the warning? :-)
Which is pretty much an eternal question I suspect - I've read a lot of
lists, newsgroups etc and I _do_ read documentation, search the web etc and
I still ask dumb questions - even when the docs are excellent you can't make
a user understand what he's read, if he's read it. Sometimes you need to
know the answer to realise that it was in the manual after all - MS are
really good at that one with a lot of their tools.
Mustn't stop trying though.

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 16:46:24 2005

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