Ori Avtalion wrote:
Toby Johnson wrote:
Ori Avtalion wrote:
VSS seems to force first letter to be upper case, and the others to
lowercase.
It must be the GUI that forces that restriction. You may have luck with
the following approach:

* Move or rename the file um.dat in your VSS "data" directory.
* Edit the "users.txt" file in the root of you VSS directory to change
the names and/or case of your users.
* Run VSS analyze.exe with the "-f" (fix) option on your "data"
directory to restore the um.dat file with your new names.
* Open VSS Admin and VSS Explorer using the new um.dat; if it doesn't
work restore the old one.

toby

That sort of worked. In the admin app, users now appear lowercase, but
in file history and when running vss2svn, the usernames still come out
as uppercase.

Would you accept a patch for a --lowercase-usernames flag that
automatically converts all usernames?
Reasons:
1) unix-style usernames are usually lowercase, and the same goes for
subversion.
2) I know it's only a one-line change in vss2svn script, but some
(including me) don't have a perl environment with all dependencies set up.

Sure, I could add that. I don't know how but my VSS had all lowercase names everywhere. Maybe that's because we also used the Mainsoft "VSS for Unix" and it created them that way. I agree mixed-case names are annoying, especially from the command line.

I think the best approach would be to allow a text file with VSS-to-Subversion name mappings, or have the command-line switch instead be a search-and-replace regex to apply to all VSS usernames, because there certainly will be cases where people want to munge their names in other ways, and I'd like to avoid a command-line switch for each use case. But since you're the first to ask for something along those lines, it's at least better than nothing.

toby

_______________________________________________
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
Mailing list web interface (with searchable archives):
http://dir.gmane.org/gmane.comp.version-control.subversion.vss2svn.user

Reply via email to