emaste 58fe2d8756 newvers: avoid clearing svn revision information with nested VCS dirs
Consider the case where FreeBSD is checked out via Subversion with a
(perhaps unrelated) .git or .hg directory at a higher level - for
example,

    .../.git
    .../src/freebsd

Previously newvers obtained the SVN revision information via svnversion,
and then tried to obtain the SVN revision corresponding to the git or hg
commit, overwriting the existing information.

As a short term fix use a different variable for hg-svn or git-svn
information, setting $svn from hg or git info only if not empty.

Reported by:	Matthias Apitz
Sponsored by:	The FreeBSD Foundation
2019-01-04 14:42:36 +00:00
..
2018-09-27 14:05:44 +00:00
2018-12-19 21:57:58 +00:00
2018-09-27 14:05:44 +00:00
2018-10-22 18:29:12 +00:00
2018-11-01 23:11:47 +00:00
2018-11-01 23:11:47 +00:00
2018-12-12 19:02:37 +00:00
2018-12-12 20:40:01 +00:00
2018-04-12 17:43:19 +00:00