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

Re: Question about propset

From: <cmpilato_at_collab.net>
Date: 2002-08-22 16:49:53 CEST

(trying to keep this dialogue on the public list so other brains can assist)

"Drew Jetter" <ajetter1@cox.net> writes:

> Thanks for your help. If windows doesn't have wildcard support,
> that's okay, because I can use a similar fix to the one Roman
> suggested...but what do I do when subversion incorrectly thinks
> that a file is a text file during an import? It doesn't seem like there
> is any way to tell it that any files are binary until after the import
> is finished. Once the import is finished, the file is already screwed
> up. So even if you set it to binary at that point, it can't fix it because
> the first copy of the file in the repository is screwed up. Now if
> there is something I can do about this, let me know. If I'm just
> asking for a feature that hasn't been added yet....then maybe I'll go
> ahead and try modifying the source myself, cuz I really need this
> in order to use subversion. Thanks again for helping me...

Hm...I'm really confused as to how the files are getting "screwed up"
just by importing them. I was under the impression that Subversion
didn't tweak file bits unless keyword expansion or newline conversion
was explicitly enabled...perhaps there is a real bug here. Please
give more details here.

In the meantime, if you want to ensure that everything is great and
grand the first time your files hit the repository, then I would
suggest *not* importing. Instead:

   - svnadmin create new_repos
   - svn co file:///path/to/new_repos working_copy
   - move stuff_i_was_going_to_import working_copy
   - svn add -R working_copy/stuff_i_was_going_to_import

Now, you have all the stuff you were going to be importing as a tree
of dirs and files scheduled for addition to the repository. At this
point you can do all the propsets you wish to. When everything is
tagged as you want it, just 'svn commit' the working_copy.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 22 16:48:59 2002

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

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