Cleartool move moves only top directory

喜欢而已 提交于 2019-12-08 07:14:51

问题


We're trying to move a bunch of folders from one location to another in our vob. The process is that:

  • we check out the target parent folder
  • check out the source parent parent folder
  • ct mv source target

This unfortunately fails with moving only the top folder in the tree... On the other hand ct relocate works fine and we avoid checking out thousands of vob elements. Are there any drawbacks with that command? We assume that the source and the target are in the same vob.


回答1:


We assume that the source and the target are in the same vob.

Then cleartool mv is enough: see "To move an element within a VOB"

It won't move just the top element.

As mentioned in "Relocating elements to another VOB":

The relocate command does not do any of the following:

  • Relocate elements when either the source or the target VOB is a UCM component VOB or PVOB.
  • Move view-private files and nonversioned DOs stored in relocated directories.
  • Move elements to a new location in the same VOB. (Use cleartool mv for this purpose.)


来源:https://stackoverflow.com/questions/27062121/cleartool-move-moves-only-top-directory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!