catay / rrst

Remote Repository Sync Tool
Apache License 2.0
5 stars 1 forks source link

tag command fails when not providing a revision #17

Closed catay closed 5 years ago

catay commented 5 years ago

Creating a tag without specifying the revisions fails with:

$ rrst tag CENTOS-7-6-X86_64-updates bla
tag error:  Revision 0 not found.

The revision parameter should not be optional or in case it's optional, the tag should be automatically applied to the latest revision.

Probably best to make the revision parameter required to avoid confusion.

catay commented 5 years ago

Fixed.