How do I get the canonical name of a file in another (non-checked out)
branch, given that I just know the file name and the tag / branch.

In git you can refer to a particular file using:

> trunk:/path/to/file
>
> So if in Fossil if I wanted say the finfo of a given file on another
branch I would like to be able to do something like:

fossil finfo BRANCH:File-NAME

But the "-r|--revision REVISION" option is only available with -p (when
printing the contents of the file to stdout) - so I was aiming to get the
canonical name then pass that on to fossil info? I'm stuck on how to get
hold of info regarding files on other branches without actually checking
out the branch - what is the general strategy for this?


>From http://www.fossil-scm.org/fossil/doc/trunk/www/checkin_names.wiki:

> A check-in can be identified using any of the following names:
>
>    - SHA1 hash prefix
>    - Tag or branchname
>    - Timestamp: *YYYY-MM-DD HH:MM:SS*
>    - *tag-name* *:* *timestamp*
>    - Special names:
>       - *tip*
>       - *current*
>       - *next*
>       - *previous*
>       - *ckout*
>
>
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to