Tag

Still mourning the loss of his email code, Harry creates a tag so he can more easily access it later.

lottery harry$ vv log
...
    revision:  15:5500274b7b84a5564929a0fb294d553f4a553008
         who:  harry
        when:  2011/05/31 11:04:59.204 -0500
     comment:  add libvmime so we can do the mail reader feature
      parent:  14:b11eaca1a7be8684069e9ce461f42f834acae344
...

lottery harry$ vv tag add -r 15 \
    just_before_sally_deleted_my_email_code

Harry used the revision number (15) here. Alternatively, he could have specified the changeset ID (5500274b7b84…).

lottery harry$ vv log

        revision:  16:7590c00819c05cd2103b29216350377c0746ae13
          branch:  master
             who:  sally
            when:  2011/05/31 11:06:37.293 -0500
         comment:  no mail reader until 2.0
          parent:  15:5500274b7b84a5564929a0fb294d553f4a553008

        revision:  15:5500274b7b84a5564929a0fb294d553f4a553008
             who:  harry
            when:  2011/05/31 11:04:59.204 -0500
             tag:  just_before_sally_deleted_my_email_code
         comment:  add libvmime so we can do the mail reader feature
          parent:  14:b11eaca1a7be8684069e9ce461f42f834acae344
...

Veracity stores tags using its decentralized database. Adding a tag does not alter the version control DAG.

lottery harry$ vv push
Pushing to http://server.futilisoft.com:8080/repos/lottery:
Pushing... Done.                                                               

Sally sees Harry gloating in the company chat room about his beloved tag, so she does an update.

lottery sally$ vv pull
Pulling from http://server.futilisoft.com:8080/repos/lottery:
Pulling... Done.                                                               

lottery sally$ vv update

lottery sally$ vv log
...
        revision:  15:5500274b7b84a5564929a0fb294d553f4a553008
             who:  harry
            when:  2011/05/31 11:04:59.204 -0500
             tag:  just_before_sally_deleted_my_email_code
         comment:  add libvmime so we can do the mail reader feature
          parent:  14:b11eaca1a7be8684069e9ce461f42f834acae344
...

Sally sees Harry’s tag and rolls her eyes. Fine. Whatever.