FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 01-24-2011, 01:06 PM
 
Default unable to check in code to svn when files contain spaces or characters

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 now on.
>
>
> > 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 friend.

That seems harsh. Can you explain? It's been my experience
that using "find mumble/ -print0 | xargs -0 mumble" almost
always provides a way to process arbitrary file names. But
maybe this particular case can't be shoehorned into that
idiom?

Best regards,
--
Charles Polisher

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-24-2011, 01:31 PM
Kai Schaetzl
 
Default unable to check in code to svn when files contain spaces or characters

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 list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-24-2011, 02:41 PM
Les Mikesell
 
Default unable to check in code to svn when files contain spaces or characters

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 pretty good job of versioning binary files,
transmitting and storing deltas, although you are right that it can't
show you a useful diff unless you can supply a suitable program for the
operation.

--
Les Mikesell
lesmikesell@gmail.com

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 09:55 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org