How can I shorten the clarity box of the drawer?

In Clearcase, I have a VOB with this path:

\Department\ProductGroup\Product1\Development

I have a view with Config parameter as follows:

element * CHECKEDOUT
element * .../mybranch/LATEST
element * /main/LATEST -mkbranch mybranch
load \Department\ProductGroup\Product1

All source code for Product1 is in the development directory. Nothing that bothers me exists outside of this directory. All links in the code belong to this directory.

I created the above Clearcase view in the c: \ dev directory

Currently, the above setting creates a directory:

c:\dev\Department\ProductGroup\Product1\Development

All parent directories Developmentare empty. I would prefer to have only the following directories.

c:\dev\Product1  

Where is c:\dev\Product1mapped to the VOB path \Department\ProductGroup\Product1\Development. Is it possible?

+3
source share
1 answer

1 / Why not just download \ Department \ ProductGroup \ Product1 \ Development?

load /Department/ProductGroup/Product1/Development

: '/', , '\', Windows .

1bis/ , " "

spec ( , - - , : Development )

element * CHECKEDOUT

# read/write selection rule for the directory and sub-directory
# where you need to work
element /Department/ProductGroup/Development/... .../mybranch/LATEST
element /Department/ProductGroup/Development/... /main/LATEST -mkbranch mybranch

# specific selection rule for the parent directories of Development
# those rules do not contain a mkbranch directive
element /Department/ProductGroup  .../mybranch/LATEST
element /Department/ProductGroup /main/LATEST
element /Department  .../mybranch/LATEST
element /Department /main/LATEST

# cleaning rule right there: anything outside /Department/ProductGroup/Development
# will not be selected, hence not loaded
element /Department/* -none

load \Department

, load \Department, .

2/ , Symlink, - subst

subst X: c:\dev\Department\ProductGroup\Product1\Development

X:\

, ClearCase :

  • view.dat( , , )
  • a vob ( Department. ProductGroup\Product1\Development - Vob Department)

    X: > ct lsview -l -full -pro -cview cleartool: : : ClearCase. X: > ct ls cleartool: : VOB: "."

Junction windows :

c:\dev>junction Product1 Department\ProductGroup\Product1
Junction v1.05 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2007 Mark Russinovich
Systems Internals - http://www.sysinternals.com

Created: C:\dev\Product1
Targetted at: C:\dev\Department\ProductGroup\Product1

C:\cc\xxx>ct ls
cleartool: Error: Pathname is not within a VOB: "."

, :

subst X: c:\dev

1/ 1bis/ :


2bis/ "Devious" :

ClearCase Development Department\ProductGroup\Product1 Department! <mybranch ' , /main/LATEST.

subst 'mybranch' Department\Development.

X:\Department\Development

.

+1

Source: https://habr.com/ru/post/1703075/


All Articles