1

I use clearfsimport command the file is added to source control but:

  • the file size becomes zero and
  • keep files are created.

In the version tree of ClearCase, the version number of that file is zero.

How can I fix this in order for the clearfsimport to work properly?

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
user3567732
  • 81
  • 2
  • 4

1 Answers1

0

You need to make sure, when using clearfsimport (as in "How can I use ClearCase to “add to source control …” recursively?")

  • that your source is different from your destination

    clearfsimport -preview -rec -nset c:\sourceDir\* m:\MyView\MyVob\MyDestinationDirectory
    

(Here I use the -preview to check first what the import would do)

  • that your destination config spec allows you to create new files (in the current branch or in the new one)

    element * CHECKEDOUT
    element * /main/LATEST
    
    or
    
    element * CHECKEDOUT
    
    element * .../newBranch/LATEST
    element * /main/0 -mkbranch newBranch
    element * /main/LATEST -mkbranch newBranch
    
Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250