diff src/org/tmatesoft/hg/repo/ext/MqManager.java @ 624:507602cb4fb3

FIXMEs and TODOs: pay some technical debt
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 20 May 2013 20:34:33 +0200
parents d2f6ab541330
children 6526d8adbc0f
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/ext/MqManager.java	Mon May 20 18:35:13 2013 +0200
+++ b/src/org/tmatesoft/hg/repo/ext/MqManager.java	Mon May 20 20:34:33 2013 +0200
@@ -39,9 +39,6 @@
  * Mercurial Queues Support. 
  * Access to MqExtension functionality.
  * 
- * FIXME check we don't hold any mq files for too long, close them, use
- * the same lock mechanism as mq does (if any). Check if MQ uses Mercurial's store lock
- * 
  * @since 1.1
  * @author Artem Tikhomirov
  * @author TMate Software Ltd.
@@ -65,6 +62,8 @@
 	 * @return <code>this</code> for convenience
 	 */
 	public MqManager refresh() throws HgInvalidControlFileException {
+		// MQ doesn't seem to use any custom lock mechanism.
+		// MQ uses Mercurial's wc/store lock when updating repository (strip/new queue)
 		applied = allKnown = Collections.emptyList();
 		queueNames = Collections.emptyList();
 		final LogFacility log = repo.getSessionContext().getLog();