MomokaChan / tortoisesvn

Automatically exported from code.google.com/p/tortoisesvn
0 stars 0 forks source link

Bug in rename when "similar file name" renames are involved and file names include multiple dots #644

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Reported on the mailing list:
Given a repository containing:

  Foo.Bar.csproj      [in svn]
  Foo.Bar.csproj.user [not in svn + ignored]

SVN Rename on the csproj file to Foo.Bar2.csproj:
- asks whether or not similar file Foo.Bar.csproj.user should
  be renamed to Foo.Bar.csproj.user
  => clearly not right (no name change_
- when Yes is selected:
  - 2 error dialogs are shown: "cannot move path X into itself"
    (one for each file)

SVN Rename on the csproj file to Foo2.Bar.csproj:
- asks whether or not similar file Foo.Bar.csproj.user should
  be renamed to Foo2.Bar.csproj.user
- when Yes is selected:
  - the .csproj file is renamed correctly
  - an error is shown for the .user file:
    "Path C:\...\Foo.Bar.csproj.user does not exist" (but it does)

SVN Rename on the csproj file to Foo2.csproj:
- asks whether or not similar file Foo.Bar.csproj.user should
  be renamed to Foo2.Bar.csproj.user
  => bad: the Bar. part is not removed
- when Yes is selected:
  - the .csproj file is renamed to Foo2.Bar.csproj (incorrect)
  - an error is shown for the .user file:
    "Path C:\...\Foo.Bar.csproj.user does not exist" (but it does)

Original issue reported on code.google.com by tortoisesvn on 16 May 2014 at 4:37

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r25501.

Original comment by tortoisesvn on 16 May 2014 at 6:34

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r25508.

Original comment by tortoisesvn on 21 May 2014 at 7:16