Usernames and case-sensitivity
Toby Johnson
toby at etjohnson.us
Sat Jan 6 18:03:23 CST 2007
Ori Avtalion wrote:
> Hi,
>
> I noticed users in VSS are case-insensitive and stored as upper-case (I
> tried renaming them to lower-case without success). Is this true?
>
They are not stored as all-uppercase in VSS, although if you initially
named them that way, VSS may not consider it a rename if you change only
the case. Perhaps it would work if you changed the name to something
else, then back to the desired case.
> They are also stored as uppercase in the subversion dumpfile.
> I'd like to import them to subversion as lower-case. Is it possible?
>
If you didn't want to change them in VSS you could force them all to
lowercase by modifying line 94 of Vss2Svn/Dumpfile.pm:
Index: Dumpfile.pm
===================================================================
--- Dumpfile.pm (revision 272)
+++ Dumpfile.pm (working copy)
@@ -91,7 +91,7 @@
if ($revision > 0) {
push @$props, ['svn:log', $comment];
- push @$props, ['svn:author', $author];
+ push @$props, ['svn:author', lc($author)];
}
push @$props, ['svn:date', $self->svn_timestamp($timestamp)];
More information about the vss2svn-users
mailing list