# HG changeset patch # User John Schneiderman # Date 1406676660 18000 # Node ID 974587bd3cba997c01d3d70aae4f7d7364cca606 # Parent 9690b422d6dfe78f041656223c6c4a4932607030 Unregister repositories only when the storage names are an exact match. IN: - diff -r 9690b422d6df -r 974587bd3cba doc/ChangeLog --- 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 . *** ******************************************************************************** +0000-00-00 John Schneiderman 0.3.0 +- Unregistering repositories will now only do so on an exact match of the + storage name. 2014-07-29 John Schneiderman 0.2.1 - Fixed issue where the configuration file copy started before it closed. - Fixed issue in Windows locking temporary file and preventing copying. diff -r 9690b422d6df -r 974587bd3cba src/hwm.py --- 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 diff -r 9690b422d6df -r 974587bd3cba src/manager.py --- 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)