[cvsnt] Spaces in File and Folder names.

Bo Berglund Bo.Berglund at system3r.se
Fri Aug 25 09:49:41 BST 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


If you use the precommand or the commitinfo script then you 
should be able to fail the commit and print a message to the user 
telling him that he must not use spaces in filenames.

For directories it is a different story, because those are really 
created immediately when you send the cvs add command on a directory. 
It is a bit strange though because the loginfo script gets called on 
a dir add so I have had to handle this case in my CVSMailer program 
in order not to send any emails for directory adds (there is no message 
associated for example).

What happens when someone does a cvs import and there are dirs and/or
files with spaces embedded I really don't know. Maybe the precommand 
script is the proper one for this or maybe commitinfo is also called
in which case you can handle everything there. You should install a
test server and experiment...

Best regards,

Bo Berglund


-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf
Of Andy Southby
Sent: den 25 augusti 2006 10:03
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: Re: [cvsnt] Spaces in File and Folder names.

Thanks for all your input.

I happen to be using scrips, auditing and TortoiseCVS and felt spaces
may be 
problematic so I will be taking the advice and mandate that my users not
use 
spaces. (This may cause me some problems however :), oh well!)

I seem to remember a thread a while back discussing a scripted method of

enforcing this in the add or commit operations, am I remembering
correctly 
and if so can anyone point me to it as I can't seem to find it?

Thanks,
Andy.

"Andy Southby" <asouthby at removethis.drumgrange.co.uk> wrote in message 
news:ecjv3q$sqd$1 at paris.nodomain.org...
> Hi all,
>
> Does any one know or have experience with spaces in file or folder
names? 
> Are there any issues I should know about?
>
> I would like to use spaces but am wondering if it is wise as I have
had 
> problems in the past with other tools.
>
> Thanks in advance,
> Andy.
> 


_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook