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

Re: auto-props on import use local temp file name instead of remote destination file name

From: Tino Schwarze <subversion.lists_at_tisc.de>
Date: Mon, 28 Jun 2010 09:59:00 +0200

Hi Justin,

On Fri, Jun 25, 2010 at 09:09:39AM -0500, Justin Johnson wrote:

> I am attempting to import a file and set svn:eol-style in one command using
> the --auto-props and --config-option options to svn import. When I do the
> import I explicitly specify the file name in the import URL. The reason I
> do this is because I want to import from a randomly generated temp file name
> but I want the file to be named config.ini in the repository. After some
> testing I have determined that svn uses the temp file name when evaluating
> if an auto-prop should be applied instead of using the remote file name
> specified on the import URL. The test script below reproduces the problem.
> It seems to me that when a path to a file is specified as the import URL,
> svn should use that file name in evaluating the auto-props, but perhaps
> there is some other reason it works this way. If anyone can clarify or
> confirm that this is a bug I would appreciate it.

Why don't you just rename the file to config.ini before import?


"What we nourish flourishes." - "Was wir nähren erblüht."
Received on 2010-06-28 09:59:41 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.