You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Diego Torres Milano <di...@in3.com.ar> on 2004/10/15 14:40:16 UTC

svn import bug or feature ?

I've tried to import this:

[diego@zebra temp]$ tree
.
|-- branches
|-- tags
`-- trunk
    |-- hello.c
    `-- hello.o
 
3 directories, 2 files

[diego@zebra temp]$ svn import . file:///tmp/svntest -m "Initial import"
Adding         trunk
Adding         trunk/hello.c
Adding         branches
Adding         tags
 
Committed revision 1.

And hello.o is _silently_ ignored and I couldn't find an import option
to do this.
The only solution is to 'svn add' after import.
Obviously this is not the real case but a oversimplification.


-- 
Diego Torres Milano <di...@in3.com.ar>
IN3

Re: svn import bug or feature ?

Posted by Steve Greenland <st...@lsli.com>.
On Fri, Oct 15, 2004 at 11:40:16AM -0300, Diego Torres Milano wrote:
> I've tried to import this:
> 
> [diego@zebra temp]$ tree
> ..
> |-- branches
> |-- tags
> `-- trunk
>     |-- hello.c
>     `-- hello.o
>  
> 3 directories, 2 files
> 
> [diego@zebra temp]$ svn import . file:///tmp/svntest -m "Initial import"
> Adding         trunk
> Adding         trunk/hello.c
> Adding         branches
> Adding         tags
>  
> Committed revision 1.
> 
> And hello.o is _silently_ ignored and I couldn't find an import option
> to do this.

It ('*.o') is one of the default global-ignores. See Chapter 7, section
"Runtime Configuration Area" in the SVN book.

As a side note, why on earth would you want generated object files in
your repository? Doing so will only cause you pain, trust me.

Steve





-- 
"Outlook not so good." That magic 8-ball knows everything! I'll ask
about Exchange Server next.
                           -- (Stolen from the net)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org