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

Re: Problem with changing filenames

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-02-09 14:06:21 CET

On Feb 9, 2006, at 13:13, Johannes Holzer wrote:

> I have a Software that saves files with increasing numbers. The
> file is named
> "file_42", next save will rename the file to "file_43". How can i use
> subversion with this?
>
> Just ignore this (let svn delete file_42 and add file_43) seems not
> to be
> good.
>
> I've thought aboud client side scripting (to rename the file before
> commit and
> after update, or sth. like that), but this is not possible, right?
>
> Does anybody see a good solution for this problem?

Use software that doesn't muck with the file name like that.

If you must use this software, you can certainly automate the
procedure of normalizing the filename before committing it.
Subversion does not have client-side hooks, so you would need to make
it a wrapper instead: you'd call your wrapper script, which would in
turn call svn commit.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 9 15:36:02 2006

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.