Blog of Leonid Mamchenkov

You just stepped in a pile of posts.

Finding the tree version in the working directory

Posted in All on June 16th, 2005 · 2 Comments

When using Gnu Arch, once in a while I need to verify that I am in the correct working directory. With long names, patches, and all those branches it is not always that obvious. The shortest way to find the version of the tree in the current working directory is:

tla logs -rf | head -1

Tags: , ,

2 responses so far ↓

  • 1 michael // Jan 3, 2006 at 11:36 am

    You can use GnuArch command tla tree-version to see it

  • 2 Leonid Mamchenkov // Jan 3, 2006 at 3:10 pm

    Here is the difference between the two:

    [leonid@ news intranet]$ tla tree-version
    leonid@ francoudi.com--work/intranet--stable--2.2
    [leonid@ news intranet]$ tla logs -rf | head -1
    leonid@ francoudi.com--work/intranet--stable--2.2--patch-5
    

    I still prefer my version. ;)

Leave a Comment

Note: This post is over 3 years old. You may want to check later in this blog to see if there is new information relevant to your comment.