On Mon, Jan 24, 2011 at 6:25 PM, Nico Kadel-Garcia <nkadel@xxxxxxxxx> wrote:
On Mon, Jan 24, 2011 at 6:57 AM, Agnello GeorgeFirst: don't do this, seriously. You're begging for pain in your
<agnello.dsouza@xxxxxxxxx> 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
scripting to handle such files from now on.
Second, stop playing with xargs in command line handling. It is not your friend.
> i as able to add other files with space using the following command :
>
> svn st |grep ? |cut -c8- |sed 's/ /\\ /g' |xargs svn add
You should be able to do "svn add "admin/upload_data/FINAL leg list
svn add "admin/upload_data/FINAL leg list 19_01_2010 to agar
(Merged data in one).xls"
> however there are some special characters like ( ) +#@ that svn cannotWell, *YES*. You're going to have difficulty getting characters that
> understand as the full path of the file .
mean things to the subversion somponent numbering scheme or the
Subversion URL scheme, such as '@', '/', and '#' into the actual
filenames. Even if you can leverage your way past this by stuffing in
enough backslashes, you're effectively destabilizing your Subversion
repository and scripting to handle it, especially post-commit scripts.
Can you first explain why you want, or need, to do this?
> can some one help me in this in perl or in shell .
>
> --
> Regards
> Agnello D'souza
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
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 issues while checking in .
--
Regards
Agnello D'souza
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos