2

Yesterday I received a new computer at work. My old computer had several Clearcase views (snapshots) containing a number of files that were stilled checked out. The process for building my new machine copied the directory containing my Clearcase view to my new machine.

My new machine's ClearCase now has no idea that those directories are ClearCase views and therefore that they contain checked out files that I'd like to keep.

How can I associate those directories to ClearCase so I get back to the state that they were in on my old machine (i.e. the directories are controlled by ClearCase and checked out files are recognized as such)?

Thanks, Todd

Todd
  • 2,829
  • 5
  • 34
  • 56

1 Answers1

1

The easiest way is to:

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Thanks Von. Could you clarify the 3rd bullet? At this point I'd have the old view (we'll call it oldview), and my new view (we'll call it newview) directories.
    Do I run clearfsimport while in the oldview directory? And that'll stick the source objs into newview?
    – Todd Dec 04 '12 at 15:34
  • @Todd the `clearfsimport` is run in the target destination (your new view), importing any directory of your choice (in your case, your old View). What that will do is to update (checkout / checkin) the files that you have modified. Not that said files will be checked-in though. – VonC Dec 04 '12 at 16:25
  • Thanks Von. I'm back in action! – Todd Dec 04 '12 at 22:16