Re: [CentOS] unable to check in code to svn when files contain spaces or characters

2011-01-25 Thread Nico Kadel-Garcia
On Mon, Jan 24, 2011 at 9:06 AM, cpol...@surewest.net wrote: Nico Kadel-Garcia wrote: i as able to add other files with space using the following command :  svn st |grep ? |cut -c8- |sed 's/ /\\ /g' |xargs svn add Second, stop playing with xargs in command line handling. It is not your

[CentOS] unable to check in code to svn when files contain spaces or characters

2011-01-24 Thread Agnello George
i got a file like this and i need add it into my svn admin/upload_data/FINAL leg list 19_01_2010 to agar (Merged data in one).xls i as able to add other files with space using the following command : svn st |grep ? |cut -c8- |sed 's/ /\\ /g' |xargs svn add however there are some special

Re: [CentOS] unable to check in code to svn when files contain spaces or characters

2011-01-24 Thread Nico Kadel-Garcia
On Mon, Jan 24, 2011 at 6:57 AM, Agnello George agnello.dso...@gmail.com wrote: i got a file like this and i need add it into my svn admin/upload_data/FINAL  leg  list  19_01_2010 to  agar  (Merged data in one).xls First: don't do this, seriously. You're begging for pain in your scripting to

Re: [CentOS] unable to check in code to svn when files contain spaces or characters

2011-01-24 Thread Agnello George
On Mon, Jan 24, 2011 at 6:25 PM, Nico Kadel-Garcia nka...@gmail.com wrote: On Mon, Jan 24, 2011 at 6:57 AM, Agnello George agnello.dso...@gmail.com wrote: i got a file like this and i need add it into my svn admin/upload_data/FINAL leg list 19_01_2010 to agar (Merged data in

Re: [CentOS] unable to check in code to svn when files contain spaces or characters

2011-01-24 Thread Les Mikesell
On 1/24/11 5:57 AM, Agnello George wrote: i got a file like this and i need add it into my svn admin/upload_data/FINAL leg list 19_01_2010 to agar (Merged data in one).xls i as able to add other files with space using the following command : svn st |grep ? |cut -c8- |sed 's/ /\\

Re: [CentOS] unable to check in code to svn when files contain spaces or characters

2011-01-24 Thread Agnello George
On Mon, Jan 24, 2011 at 7:12 PM, Les Mikesell lesmikes...@gmail.com wrote: On 1/24/11 5:57 AM, Agnello George wrote: i got a file like this and i need add it into my svn admin/upload_data/FINAL leg list 19_01_2010 to agar (Merged data in one).xls i as able to add other files with

Re: [CentOS] unable to check in code to svn when files contain spaces or characters

2011-01-24 Thread Les Mikesell
On 1/24/11 7:49 AM, Agnello George wrote: so here is my final answer instead of doing for i in $(svn st | grep ? | awk '{print $2}'); do svn add $i;done i can do for i in $(svn st | grep ? | awk '{print $2}'); do svn add *$i *;done This is working for me ... i wonder if i am going to

Re: [CentOS] unable to check in code to svn when files contain spaces or characters

2011-01-24 Thread cpolish
Nico Kadel-Garcia wrote: Agnello George wrote: i got a file like this and i need add it into my svn admin/upload_data/FINAL  leg  list  19_01_2010 to  agar  (Merged data in one).xls First: don't do this, seriously. You're begging for pain in your scripting to handle such files from

Re: [CentOS] unable to check in code to svn when files contain spaces or characters

2011-01-24 Thread Kai Schaetzl
svn is not meant to contain binary files (AFAIK Excel files are binary), there is no way to see a meaningful diff of these files. Furthermore, developers should be able to adapt to a naming scheme that avoids such problems. Kai ___ CentOS mailing

Re: [CentOS] unable to check in code to svn when files contain spaces or characters

2011-01-24 Thread m . roth
Agnello George wrote: On Mon, Jan 24, 2011 at 6:25 PM, Nico Kadel-Garcia nka...@gmail.com wrote: snip On Mon, Jan 24, 2011 at 6:57 AM, Agnello George agnello.dso...@gmail.com wrote: Can you first explain why you want, or need, to do this? the reason i need to do this i want to automate

Re: [CentOS] unable to check in code to svn when files contain spaces or characters

2011-01-24 Thread Les Mikesell
On 1/24/2011 8:31 AM, Kai Schaetzl wrote: svn is not meant to contain binary files (AFAIK Excel files are binary), there is no way to see a meaningful diff of these files. Furthermore, developers should be able to adapt to a naming scheme that avoids such problems. Subversion actually does a

Re: [CentOS] unable to check in code to svn when files contain spaces or characters

2011-01-24 Thread Les Mikesell
On 1/24/2011 7:05 AM, Agnello George wrote: the reason i need to do this i want to automate the whole process of checking into to svn from dev server and checking out to QA server for testing purpose , my script would change the config file in QA server . the developers have lots of