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

Re: directory-based auto-props

From: Nathan Kidd <nathan-svn_at_spicycrypto.ca>
Date: 2006-07-05 23:12:20 CEST

Sven Brueggemann wrote:
> I need to import quite a large project. It's files are organized
> in several directories and the filenames have over a hundred
> different extensions. Binary files are always in different
> directories than textual files.
>
> During the import, I need to set the svn:eol-style property to
> "native" on textual files. How can I accomplish that?
>
> With an auto-prop "* = svn:eol-style=native" the import fails
> on binary files. A file name pattern dir/* doesn't seem to
> work or I don't get the syntax right.
>
> Any hints?
>
> I already considered setting eol-style after the import but
> that drastically increases the repository size, so if
> possible, I'd like to set it during import.
>

Why not check out an empty directory and import via 'svn add'? You can
then use any shell process you like to set your properties before commiting.

-Nathan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 5 23:12:21 2006

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