]> arthur.barton.de Git - bup.git/commit
tag-cmd: Some fixups
authorGabriel Filion <lelutin@gmail.com>
Thu, 2 Dec 2010 23:01:40 +0000 (18:01 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Mon, 3 Jan 2011 04:44:12 +0000 (20:44 -0800)
commit891e5f31865c561ace4ad30ed12dfa8836e42d3b
tree881729cebd338cb356adbcba2b1d84082bfbb0c1
parent376d069309a64ef5162ca3aa974072d6d326f90f
tag-cmd: Some fixups

* Make some error messages nicer in telling the tag name that was used.

* Move tag listing code in git.py and use this code in tag-cmd and vfs.py

* Make tag-cmd output the list of tags on stdout instead of stderr

* Don't error out when more than 2 arguments are given. When there are less
  than 2, be nice and show the usage.

* In tag-cmd, catch GitErrors that come out of git.rev_parse()

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
cmd/tag-cmd.py
lib/bup/git.py
lib/bup/vfs.py
t/test.sh