diff src/org/tmatesoft/hg/internal/BasicSessionContext.java @ 665:dde18bc7053b v1.2m1

Test Copy-on-Write transactions
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 10 Jul 2013 20:16:37 +0200
parents 909306e412e2
children
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/BasicSessionContext.java	Wed Jul 10 19:33:51 2013 +0200
+++ b/src/org/tmatesoft/hg/internal/BasicSessionContext.java	Wed Jul 10 20:16:37 2013 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2012 TMate Software Ltd
+ * Copyright (c) 2011-2013 TMate Software Ltd
  *  
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -28,7 +28,7 @@
  * @author Artem Tikhomirov
  * @author TMate Software Ltd.
  */
-public class BasicSessionContext extends SessionContext {
+public class BasicSessionContext extends SessionContext implements SessionContext.Source {
 
 	private LogFacility logFacility;
 	private final Map<String, Object> properties;
@@ -68,4 +68,8 @@
 		value = System.getProperty(name);
 		return value == null ? defaultValue : value;
 	}
+
+	public SessionContext getSessionContext() {
+		return this;
+	}
 }