DeutschEspañolFrançaisItalianoNederlandsPortuguêsΕλληνικάРусскийالعربية中文(简体)中文(繁體)日本語한국어
 
Donate Bitcoins
Google
 
www smithii.com
 

Migrating from CVS to Perforce

Here's a simple Cygwin script to migrate files from a CVS repository to Perforce.

Make sure the directory you are in, is prefaced with /cygdrive, or cygpath gets confused.

#!/bin/bash
# cvs2p4.sh

REPOSITORIES="example1 example2"

PWD=`cygpath -w \`pwd\``
p4 edit ...

for repo in $REPOSITORIES
do
	cvs export -r HEAD $repo
done

find . -type f -printf '"%P" ' | p4 -x - add
p4 submit

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

done

done

any update?

Any update -:)

Regarding migrate files from CVS to P4

Could any body give me step by step procedure to migrate from CVS to Perforce,so I should be able to get Latest version of CVS files in perforce,before I join here some time people used Perforce as well,but now evrything are in CVS,now We need to get it back to all of them to perforce.Please let me know where i can run this script,so I dont want loose any data.

~Pravin

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
DeutschEspañolFrançaisItalianoNederlandsPortuguêsΕλληνικάРусскийالعربية中文(简体)中文(繁體)日本語한국어
 
Donate Bitcoins
Google
 
www smithii.com
 
Special thanks to Riester Rente Online for a generous donation!