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

Renaming of files

From: Oliver Kopp <koppdev_at_gmail.com>
Date: Mon, 22 Jul 2013 15:08:57 +0200

Hi,

I noticed that the renaming of files changed in the last version. The
new renaming does not fit my requirements.

If
prefix-XXX-suffix.extension
is renamed to
prefix-YYY-suffix.extension,
the suggestion for renaming should "just" replace all "XXX" in "YYY"
in all files.

What the current algorithm seems to be doing is to do a fuzzy search
somehow and adding words to the filename, where it is undesired...

If I rename "prefix1-xxx-suffix1.pdf" to "prefix1-yyy-suffix1.pdf",
TortoiseSVN suggests me to rename "prefix1-xxx-sufuffix2.xlsx" to
"prefix1-yyy-suffix1.0-xxx-suffix2.xlsx". Especially, the old "xxx" is
still there.

Concrete example:
TOSCA-v1.0-csd08-attributes.xlsx -> TOSCA-v1.0-cos01-attributes.xlsx
leads to the suggestion

TOSCA-v1.0-csd08-class-diagram.pdf to
TOSCA-v1.0-cos01-attributes.0-csd08-class-diagram.pdf.
I expected the suggestion
TOSCA-v1.0-cos01-class-diagram.pdf.

TOSCA-v1.0-csd08.doc -> TOSCA-v1.0-cos01-attributes.0-csd08.doc
is also suggested, but I expected
TOSCA-v1.0-cos01.doc

Is it possible to do the renaming suggestion based on a diff?
E.g., the user deleted letters a,b,c on positions 4,5,6 and inserted d,e,f?

Cheers,

Oliver

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3061016

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-07-22 15:15:40 CEST

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

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