[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Some files won't be imported to my repository!

From: Campbell Allan <campbell.allan_at_sword-ciboodle.com>
Date: Tue, 22 Jun 2010 10:09:22 +0100

On Tuesday 22 Jun 2010, Kevin Wu wrote:
> Hi folks
>
> I created a repository and imported one entire directory.
>
> But some files in that directory were not added to my repository.
>
> I logged the import process and confirmed this.
>
> But why? I need these files in order to auto-build by Hudson server.
>
> these files are 17mb - 44mb big, named for example, "libxerces-c-3.0.so",
> "libxerces-c.a"
>
> Thanks in advance.

The default behaviour of subversion (and many version control systems) is to
ignore temporary and generated files such as libraries and intermediate
objects (like .o files). Usually the intended behaviour is to version the
source not the results of compiling or editing the source.

In subversion this is controlled by the general settings, if you search the
subversion config file for global-ignores (it is probably a comment by
default) you'll see a list of files including .so and .a, change the list to
suit your needs or you can try explicitly adding them on the command line.
The config file on unix is in ~/.subversion/config. On windows I'm not so
sure, but here is the reference in the redbook. Just search down a little for
the words global-ignores for more info.

http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.advanced.confarea.opts.config

Campbell

-- 
__________________________________________________________________________________
Sword Ciboodle is the trading name of ciboodle Limited (a company 
registered in Scotland with registered number SC143434 and whose 
registered office is at India of Inchinnan, Renfrewshire, UK, 
PA4 9LH) which is part of the Sword Group of companies.
This email (and any attachments) is intended for the named
recipient(s) and is private and confidential. If it is not for you, 
please inform us and then delete it. If you are not the intended 
recipient(s), the use, disclosure, copying or distribution of any 
information contained within this email is prohibited. Messages to 
and from us may be monitored. If the content is not about the 
business of the Sword Group then the message is neither from nor 
sanctioned by us.
Internet communications are not secure. You should scan this
message and any attachments for viruses. Under no circumstances
do we accept liability for any loss or damage which may result from
your receipt of this email or any attachment.
__________________________________________________________________________________
Received on 2010-06-22 11:12:34 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.