1

I am going to use p42svn for the first time and I have some doubts/questions regarding the same.

  1. As I understand from the p42svn home page, the script p42svn.pl should be run from the machine that hosts the Perforce repository. This script generates an SVN readable dump file which can then be imported into SVN repository. Could you please confirm if my understanding is correct?

  2. In our scenario, we do not want to have all the revisions of the files. We would only need the revisions for the past 1 year. Is it possible to achieve the same?

  3. Instead of migrating all the projects from the Perforce Depot in one go, is it possible to migrate the Projects one by one?

Any help in this regard is highly appreciated.

Brad Gilbert
  • 33,846
  • 11
  • 78
  • 129
saravana_pc
  • 2,607
  • 11
  • 42
  • 66

1 Answers1

1

I've never used the script myself, but reading the documentation leads me to:

  1. yes.
  2. Use the --changes switch. Find the relevant changes with p4 changes -s submitted @2010/11/17,@now (that would give you the changes starting a year ago, adjust to your needs)
  3. My SVN knowledge is not good enough for this to comment on, but maybe the answer to this question helps?
Community
  • 1
  • 1
jhwist
  • 15,201
  • 3
  • 40
  • 47