Mercurial > hgweb.cgi > hwm
changeset 22:974587bd3cba
Unregister repositories only when the storage names are an exact match. IN: -
author | John Schneiderman <JohnMS@CodeGNU.com> |
---|---|
date | Tue, 29 Jul 2014 18:31:00 -0500 |
parents | 9690b422d6df |
children | b18cd3cb2c09 |
files | doc/ChangeLog src/hwm.py src/manager.py |
diffstat | 3 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/ChangeLog Tue Jul 29 18:24:43 2014 -0500 +++ b/doc/ChangeLog Tue Jul 29 18:31:00 2014 -0500 @@ -17,6 +17,9 @@ *** You should have received a copy of the GNU Affero General Public License*** *** along with this program. If not, see <http://www.gnu.org/licenses/>. *** ******************************************************************************** +0000-00-00 John Schneiderman <Licensing _AT_ CodeGNU _DOT_ com> 0.3.0 +- Unregistering repositories will now only do so on an exact match of the + storage name. 2014-07-29 John Schneiderman <Licensing _AT_ CodeGNU _DOT_ com> 0.2.1 - Fixed issue where the configuration file copy started before it closed. - Fixed issue in Windows locking temporary file and preventing copying.
--- a/src/hwm.py Tue Jul 29 18:24:43 2014 -0500 +++ b/src/hwm.py Tue Jul 29 18:31:00 2014 -0500 @@ -25,7 +25,7 @@ # The full name of the application LONG_NAME='HgWeb Manager' # The current version of the application -VERSION = '0.2.1' +VERSION = '0.3.0' # The current copyright years. YEARS = '2014' # A short description of the application
--- a/src/manager.py Tue Jul 29 18:24:43 2014 -0500 +++ b/src/manager.py Tue Jul 29 18:31:00 2014 -0500 @@ -263,7 +263,7 @@ tempFile = target.name with open(settings.HgWebPath + os.sep + 'hgweb.config', 'r') as source: for line in source: - if repo.StorageName in line: + if repo.StorageName + ' = ' in line: foundRepo=True else: target.write(line)