diff options
| author | Sam Thanawalla <samthanawalla@google.com> | 2024-08-28 16:26:30 +0000 |
|---|---|---|
| committer | Sam Thanawalla <samthanawalla@google.com> | 2024-09-30 14:30:37 +0000 |
| commit | 7fd0b133dc1bb4af59914650660c644381c84e35 (patch) | |
| tree | 6307e93bfc465da9dea5e1d73f6b4dd06e8d604a /src/errors/errors.go | |
| parent | 49dd7726a9e2e4371de984871082ea0e3791cbdd (diff) | |
| download | go-7fd0b133dc1bb4af59914650660c644381c84e35.tar.xz | |
cmd/go: add Mercurial based version stamping for binaries
This CL adds a local only VCS lookup for Mercurial.
It fixes a bug in pkg.go by passing in the repo directory to
the LookupLocal function instead of the module directory. It could be
the case that a binary is built in a subdirectory of the repo.
For: #50603
Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest
Change-Id: Ic36b5a361a8ba3b0ba1a6968cde5f5263c9c8dd0
Reviewed-on: https://go-review.googlesource.com/c/go/+/609155
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Diffstat (limited to 'src/errors/errors.go')
0 files changed, 0 insertions, 0 deletions
