Frage

I would really like if I could do something like:

fossil commit --tag 0.1.2 release

and have fossil add both 0.1.2 and release as tags.

How can I accomplish this?

Edit:
I built the fossil on windows as suggested and it fixed the problem.

War es hilfreich?

Lösung

You can repeat the --tag option multiple times like fossil commit --tag 0.1.2 --tag release

d:\test>fossil new test
project-id: 6cf7c1419425e47a71c35900179cb879a68fe495
server-id:  3a9e9a972204274d5a137b9e50df9a54928c4f96
admin-user: Eigenaar (initial password is "846ac5")

d:\test>fossil open test

d:\test>echo hello >world

d:\test>fossil add world
ADDED  world

d:\test>fossil commit --comment "First release" --tag 0.1.2 --tag release
New_Version: 761d2a6c3be8fc22413b5ddedbab46e5500b1b38

d:\test>fossil info
project-name: <unnamed>
repository:   d:/test/test
local-root:   d:/test/
user-home:    C:/Users/Eigenaar/AppData/Local
project-code: 6cf7c1419425e47a71c35900179cb879a68fe495
checkout:     761d2a6c3be8fc22413b5ddedbab46e5500b1b38 2012-07-09 21:13:17 UTC
parent:       1099fa0a0516d4b8a57306c4ee449f86a44f534d 2012-07-09 21:13:17 UTC
tags:         trunk, 0.1.2, release
comment:      First release (user: Eigenaar)
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top