1

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
vanangamudi
  • 673
  • 1
  • 8
  • 21

1 Answers1

1

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.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • how does emacs understand the version-extended file path? assuming emacs uses operating system services for opening the files, how the operating system know about this path. does os have some kind of hook to clearcase to understand this path syntax? – vanangamudi Jul 15 '15 at 08:46
  • 1
    @vanangamudi the OS knows about this path because a dynamic view uses MVFS (Multi-Version FileSystem), linked with the kernel and defining an new filesystem (which in the end is a collection of folders and files). – VonC Jul 15 '15 at 08:48
  • thanks a lot. now I get this. the file-path is supported by a file-system. – vanangamudi Jul 15 '15 at 08:50