[p4] cvs2p4 - Creating uppercase branch names

Slava Imeshev imeshev at yahoo.com
Thu Aug 24 20:23:07 PDT 2006


p4 integrate //foo-bar/... //BAR-FOO/...
p4 delete //foo-bar/...

This way you both get your upper-cased branch name and 
maintain factual history of changes.

Regards,

Slava imeshev

----- Original Message ----- 
From: "Weintraub, David" <david.weintraub at bofasecurities.com>
To: "Perforce Users" <perforce-user at perforce.com>
Sent: Thursday, August 24, 2006 5:58 AM
Subject: [p4] cvs2p4 - Creating uppercase branch names


> Is there a way using cvs2p4 to mangle the names of branches? That is,
> you have a branch "foo-bar" in CVS which becomes "BAR-FOO" in Perforce?
>  
> I'd like to make all branch names uppercase as specified in the book
> Practical Perforce. I'd also like to clean up branch names making
> something like Branch-1-4-3 to CELOX-1.4.3.
>  
> Would it be possible to take a checkpoint, modify the checkpoint file,
> then rebuild the database? Or, would it be easier to modify the cvs2p4
> programs to do just that?
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user


More information about the perforce-user mailing list