You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kevin Wu <ke...@gmail.com> on 2010/06/22 08:59:50 UTC
Some files won't be imported to my repository!
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.
--
Best wishes,
Kevin Wu
Re: Some files won't be imported to my repository!
Posted by Erik Andersson <ki...@gmail.com>.
You probably have an svn:ignore set on *.so *.a?
Cheers / Erik
On Tue, Jun 22, 2010 at 10:59 AM, Kevin Wu <ke...@gmail.com> 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.
>
> --
> Best wishes,
> Kevin Wu
>
Re: Some files won't be imported to my repository!
Posted by Kevin Wu <ke...@gmail.com>.
Thanks a lot for all of you folks!
On Tue, Jun 22, 2010 at 5:09 PM, Campbell Allan <
campbell.allan@sword-ciboodle.com> wrote:
>
> 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.
>
> __________________________________________________________________________________
>
>
--
Best wishes,
Kevin Wu
Re: Some files won't be imported to my repository!
Posted by Campbell Allan <ca...@sword-ciboodle.com>.
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.
__________________________________________________________________________________
Re: Some files won't be imported to my repository!
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 22, 2010, at 03:59, Kevin Wu wrote:
> 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"
By default, Subversion ignores .so and .a files, and some others. If you don't want that, set global-ignores to something else in your ~/.subversion/config (or equivalent if not on a Unix-based operating system).