Mike Frysinger 6db1b9e282 repo: return a namedtuple with full version info
We were returning an e.g. tuple(1,2,3), but that strips off the full
version string which we might want in some places e.g. '1.2.3-rc3'.
Change the return value to a namedtuple so we can pass back up the
full version string.  For code doing a compare with three elements
(all code today), things still work fine as the namedtuple will DTRT
in this scenario.

Bug: https://crbug.com/gerrit/11144
Change-Id: Ib897b5df308116ad1550b0cf18f49afeb662423e
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/231053
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
Tested-by: Mike Frysinger <vapier@google.com>
2019-07-11 01:28:14 +00:00
2019-06-12 23:18:10 -04:00
2016-09-14 09:49:02 +02:00
2013-03-08 01:18:08 +00:00
2017-05-26 21:44:57 +09:00
2019-06-13 14:30:52 +00:00
2019-06-13 14:30:52 +00:00
2008-10-21 07:00:00 -07:00
2019-06-13 14:30:52 +00:00
2019-06-13 14:30:52 +00:00
2019-06-13 14:30:52 +00:00
2019-06-13 13:23:19 -04:00
2019-06-13 14:30:52 +00:00
2019-07-05 01:38:14 -04:00
2019-06-13 14:30:52 +00:00
2019-06-13 14:30:52 +00:00
2018-12-20 02:11:46 -05:00
2019-06-13 14:30:52 +00:00
2019-06-13 14:30:52 +00:00

repo

Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.

Description
No description provided
Readme Apache-2.0 35 MiB
Languages
Python 99.1%
Shell 0.9%