mgirod / clearcase-cpan

Automatically exported from code.google.com/p/clearcase-cpan
0 stars 0 forks source link

Wrapper::MGi co of directory under BranchOffRoot #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
$ ct catcs
##:BranchOff: root
element * CHECKEDOUT
element * .../mg/LATEST
mkbranch mg
element * MG
element * /main/LATEST

2.
$ ctx co -nc lib/5.8.8
cleartool: Error: Pathname not found: "mg".
cleartool: Error: Unable to access "lib/5.8.8": No such file or directory.

3.
$ ct co -nc lib/5.8.8
Created branch "mg" from "lib/5.8.8" version "/main/4".
Checked out "lib/5.8.8" from version "/main/mg/0".

What is the expected output? What do you see instead?

(2) should have succeeded to checkout (should in fact have created an mg
branch from /main/0).
It does usually, including for directories...
There must be something that makes this case special...

Original issue reported on code.google.com by marc.girod on 11 Sep 2008 at 11:22

GoogleCodeExporter commented 9 years ago
$ ctx co -nc lib
Created branch "mg" from "lib" version "/main/0".
Checked out "lib" from version "/main/mg/0".
********************************
<<< directory 1: /vobs/cello/cade_A_tools_perl/SunOS/sparc/lib@@/main/0
>>> directory 2: lib@@/main/6
>>> directory 3: lib
********************************
-----------[ directory 1 ]-------------|---------[ added directory 2 ]---------
                                      -| 5.8.8/ 20-Feb-2006 erabodo
*** Automatic: Applying ADDITION from directory 2
-----------[ directory 1 ]-------------|---------[ added directory 2 ]---------
                                      -| site_perl/ 31-Jan-2006 vobcade
*** Automatic: Applying ADDITION from directory 2
Recorded merge of "lib".

So, the special thing in the previous seems to be that this is a 
sub-directory...

Original comment by marc.girod on 11 Sep 2008 at 11:25

GoogleCodeExporter commented 9 years ago
Fixed in r117

Original comment by marc.girod on 14 Oct 2008 at 8:20