在/ vobs / some / path和/ view / view-tag-name / vobs / some / path中工作 [英] working in /vobs/some/path versus /view/view-tag-name/vobs/some/path
问题描述
我必须在工作中使用ClearCase,基本工作流程要求我做类似的事情:
I have to use ClearCase at work and the basic workflow requires me to do something like:
cleartool setview <view-tag-name>
view-tag-name
是动态的我可能会添加的视图。从我收集的内容中,将打开一个新的外壳,该外壳使我可以访问 / vobs / some / path
中的文件,这些文件通过已安装的MVFS文件系统。但是,在现有Shell之上的第二个Shell破坏了我的Emacs客户端-Emacs守护程序的合作。此外,在另一个SO答案中,有人说他根本不理会 setview
,所以没有访问:
view-tag-name
is a dynamic view I might add. From what I've gathered this opens up a new shell that allows me to access files in /vobs/some/path
that go through a mounted MVFS file system. However this second shell on top of the existing shell breaks my Emacs client - Emacs daemon cooperation. Moreover, in another SO answer someone was saying that he didn't bother with setview
at all and so instead of accessing:
-
/ vobs / some / path
(来自setview
shell)
/vobs/some/path
(from within asetview
shell)
…他会访问:
… he would access:
-
/ view / view-tag-name / vobs / some /路径
(不使用setview
shell)
/view/view-tag-name/vobs/some/path
(without using asetview
shell)
我做了一些实验,无论我是否在 / vobs / some / path $中,所有
cleartool
命令的工作方式都相同c $ c>(在 setview
shell中)或我是否在 / view / view-tag-name / vobs / some / path
(在普通外壳中)。
I've experimented a little and it seems that all cleartool
commands work the same way whether I am in /vobs/some/path
(in a setview
shell) or whether I am in /view/view-tag-name/vobs/some/path
(in a plain shell).
所以我的问题是:
- 在
setview
shell中的/ vobs / some / path
中工作与在/ view / view-tag-name / vobs / some / path
放在普通外壳中? - 何时使用正确的术语指的是
/ view / view-tag-name
目录? - 为什么当我执行
ct lsview时- l -properties -ful视图标记名称
我看不到对/ view / view-tag-name
目录的引用吗?该目录不是与视图关联的吗?
- what's the difference between working in
/vobs/some/path
in asetview
shell versus working in/view/view-tag-name/vobs/some/path
in a plain shell? - what is the proper term to use when referring to the
/view/view-tag-name
directory? - why when I do
ct lsview -l -properties -ful view-tag-name
I don't see any reference to the/view/view-tag-name
directory? Isn't this directory associated with the view?
推荐答案
在
setview
shell中的/ vobs / some / path
中工作与在/ view / view-tag-name / vobs / some / path
放在一个普通的外壳中?
what's the difference between working in
/vobs/some/path
in asetview
shell versus working in/view/view-tag-name/vobs/some/path
in a plain shell?
不要使用 cleartool setview
:如我之前所述, cleartool setview
命令打开一个子外壳,假定该命令在其中运行可能会有问题。
Do not use cleartool setview
: As I explained before, the cleartool setview
command opens a subshell in which commands are supposed to be run, which can be problematic.
在 / view / view-tag-name / vobs / some / path
中工作保留在您的主外壳中,及其所有属性。
Working in /view/view-tag-name/vobs/some/path
means you remain in your main shell, with all its properties.
对我们来说合适的术语是什么e指的是
/ view / view-tag-name
目录?
这引用了完整路径视图的根文件夹(在其中要安装vob并根据视图配置规范及其选择规则来访问版本)
That references the full path view root folder (inside which you are mounting vobs and accessing versions based on the view config spec and its selection rules)
在 / vobs / some / path
,您仍然可以通过cleartool pwv看到您所在的视图(路径工作视图)。
In /vobs/some/path
, you can still see the view you are in with cleartool pwv ("path working view").
为什么当我做
ct lsview -l -properties -ful view-tag-name
时,我看不到任何对<$ c的引用$ c> / view / view-tag-name 目录?
why when I do
ct lsview -l -properties -ful view-tag-name
I don't see any reference to the/view/view-tag-name
directory?
您正在看到视图,然后将其安装在 / view / view-tag-name
(在Unix上)或 M:\view-tag-name
在Windows上。
这些属性不假定该视图在运行时的使用情况,它们仅显示静态元数据(如视图存储或视图类型)
You are seeing the property of the view, which will then be mounted in /view/view-tag-name
(on Unix) or M:\view-tag-name
on Windows.
Those properties make no assumption on the runtime usage of that view, they only display static metadata (like the view storage or the view type)
这篇关于在/ vobs / some / path和/ view / view-tag-name / vobs / some / path中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!