Search code examples
windowsemacspathdiffclearcase

Is clearcase path is a standard one -- '@@' and string after that


is the clearcase path syntax is universal one.

my_source.c@@\main\10.1_bugfix\another_branch\0

is this path is standard one? I invoked the following in emacs and it is working. how does emacs diff understand this path. somehow clearcase informs operating system how to interpret that path. or emacs-diff know of this path syntax?

$ diff my_source.c@@\main\10.1_bugfix\another_branch\0 my_source.c

Solution

  • This is an extended path.

    It is working with dynamic views, which give access to the branches and versions of an element.

    See "Base ClearCase path meaning".

    In your case, you access the version 0 of the branch main\10.1_bugfix\another_branch.

    See also the IBM technote "About the version-extended path" for an example, and pathnames_ccase for the doc:

    https://www-01.ibm.com/support/knowledgecenter/api/content/nl/en-us/SSSH27_8.0.0/com.ibm.rational.clearcase.dev.doc/topics/cc_dev/images/ver_ext_pname.gif

    You can add characters to the end of a relative or full path name, turning it into a VOB-extended path name.
    VOB-extended path names that specify versions of elements are the most commonly used; they are called version-extended path names.