Dirk wrote:
Hi Toby,

the fix you attached to this mail is correct, but the one you committed in [183] is wrong. You omitted the check for the itemtype, which is very important when renaming projects.

The correct code is

   if ($data->{itemtype} == 1) {
       $newpath =~ s:(.*/)?.+$:$1$newname:;
   } else {
       $newpath =~ s:(.*/)?.*:$1$newname:;
   }


Yes, when I first looked at them I couldn't figure out how they were actually different, but apparently I forgot that at that point the directories have a slash appended... I'll commit the correct version above.


_______________________________________________
vss2svn-users mailing list
Project homepage: http://www.pumacode.org/projects/vss2svn/
Subscribe/Unsubscribe/Admin: 
http://lists.pumacode.org/mailman/listinfo/vss2svn-users-lists.pumacode.org

Reply via email to