misc: update year in copyright lines
This patch also makes some expected output lines in tests glob-ed for
persistence of them.
BTW, files below aren't yet changed in 2017, but this patch also
updates copyright of them, because:
- mercurial/help/hg.1.txt
almost all of "man hg" output comes from online help of hg
command, and is already changed in 2017
- mercurial/help/hgignore.5.txt
- mercurial/help/hgrc.5
"copyright 2005-201X Matt Mackall" in them mentions about
copyright of Mercurial itself
--- a/contrib/win32/ReadMe.html Sat Feb 11 00:23:55 2017 +0900
+++ b/contrib/win32/ReadMe.html Sun Feb 12 02:23:33 2017 +0900
@@ -140,7 +140,7 @@
</p>
<p>
- Mercurial is Copyright 2005-2016 Matt Mackall and others. See
+ Mercurial is Copyright 2005-2017 Matt Mackall and others. See
the <tt>Contributors.txt</tt> file for a list of contributors.
</p>
--- a/contrib/win32/mercurial.iss Sat Feb 11 00:23:55 2017 +0900
+++ b/contrib/win32/mercurial.iss Sun Feb 12 02:23:33 2017 +0900
@@ -21,7 +21,7 @@
#endif
[Setup]
-AppCopyright=Copyright 2005-2016 Matt Mackall and others
+AppCopyright=Copyright 2005-2017 Matt Mackall and others
AppName=Mercurial
AppVersion={#VERSION}
#if ARCH == "x64"
@@ -45,7 +45,7 @@
DefaultDirName={pf}\Mercurial
SourceDir=..\..
VersionInfoDescription=Mercurial distributed SCM (version {#VERSION})
-VersionInfoCopyright=Copyright 2005-2016 Matt Mackall and others
+VersionInfoCopyright=Copyright 2005-2017 Matt Mackall and others
VersionInfoCompany=Matt Mackall and others
InternalCompressLevel=max
SolidCompression=true
--- a/mercurial/commands.py Sat Feb 11 00:23:55 2017 +0900
+++ b/mercurial/commands.py Sun Feb 12 02:23:33 2017 +0900
@@ -6576,7 +6576,7 @@
util.version())
license = _(
"(see https://mercurial-scm.org for more information)\n"
- "\nCopyright (C) 2005-2016 Matt Mackall and others\n"
+ "\nCopyright (C) 2005-2017 Matt Mackall and others\n"
"This is free software; see the source for copying conditions. "
"There is NO\nwarranty; "
"not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
--- a/mercurial/help/hg.1.txt Sat Feb 11 00:23:55 2017 +0900
+++ b/mercurial/help/hg.1.txt Sun Feb 12 02:23:33 2017 +0900
@@ -112,7 +112,7 @@
Copying
"""""""
-Copyright (C) 2005-2016 Matt Mackall.
+Copyright (C) 2005-2017 Matt Mackall.
Free use of this software is granted under the terms of the GNU General
Public License version 2 or any later version.
--- a/mercurial/help/hgignore.5.txt Sat Feb 11 00:23:55 2017 +0900
+++ b/mercurial/help/hgignore.5.txt Sun Feb 12 02:23:33 2017 +0900
@@ -26,7 +26,7 @@
Copying
=======
This manual page is copyright 2006 Vadim Gelfer.
-Mercurial is copyright 2005-2016 Matt Mackall.
+Mercurial is copyright 2005-2017 Matt Mackall.
Free use of this software is granted under the terms of the GNU General
Public License version 2 or any later version.
--- a/mercurial/help/hgrc.5.txt Sat Feb 11 00:23:55 2017 +0900
+++ b/mercurial/help/hgrc.5.txt Sun Feb 12 02:23:33 2017 +0900
@@ -34,7 +34,7 @@
Copying
=======
This manual page is copyright 2005 Bryan O'Sullivan.
-Mercurial is copyright 2005-2016 Matt Mackall.
+Mercurial is copyright 2005-2017 Matt Mackall.
Free use of this software is granted under the terms of the GNU General
Public License version 2 or any later version.
--- a/setup.py Sat Feb 11 00:23:55 2017 +0900
+++ b/setup.py Sun Feb 12 02:23:33 2017 +0900
@@ -664,7 +664,7 @@
if py2exeloaded:
extra['console'] = [
{'script':'hg',
- 'copyright':'Copyright (C) 2005-2016 Matt Mackall and others',
+ 'copyright':'Copyright (C) 2005-2017 Matt Mackall and others',
'product_version':version}]
# sub command of 'build' because 'py2exe' does not handle sub_commands
build.sub_commands.insert(0, ('build_hgextindex', None))
--- a/tests/test-help.t Sat Feb 11 00:23:55 2017 +0900
+++ b/tests/test-help.t Sun Feb 12 02:23:33 2017 +0900
@@ -445,7 +445,7 @@
Mercurial Distributed SCM (version *) (glob)
(see https://mercurial-scm.org for more information)
- Copyright (C) 2005-2016 Matt Mackall and others
+ Copyright (C) 2005-* Matt Mackall and others (glob)
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--- a/tests/test-hgrc.t Sat Feb 11 00:23:55 2017 +0900
+++ b/tests/test-hgrc.t Sun Feb 12 02:23:33 2017 +0900
@@ -71,7 +71,7 @@
Mercurial Distributed SCM (version *) (glob)
(see https://mercurial-scm.org for more information)
- Copyright (C) 2005-2016 Matt Mackall and others
+ Copyright (C) 2005-* Matt Mackall and others (glob)
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ unset FAKEPATH