changeset 123:4f509f5bc8cb

reflect status change in the todo content
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 04 Feb 2011 04:06:44 +0100
parents e93101b97e4a
children cea84c5995e6
files TODO src/org/tmatesoft/hg/core/RepositoryTreeWalker.java src/org/tmatesoft/hg/core/StatusCommand.java
diffstat 3 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/TODO	Fri Feb 04 04:05:27 2011 +0100
+++ b/TODO	Fri Feb 04 04:06:44 2011 +0100
@@ -15,8 +15,8 @@
   
 * hg status
   + copies for [revision..revision] and for [revision..working dir]
-  - path or anything meaningful instead of Strings
-  - matchers
+  + path or anything meaningful instead of Strings
+  + matchers
 
 * hg cat
   + CatCommand. File, revision. 
@@ -39,7 +39,7 @@
 
 * newlines
   + \r\n <==> \n
-  - force translation if inconsistent
+  - force translation if inconsistent (now either fails or does nothing)
 
 
 Proposed:
--- a/src/org/tmatesoft/hg/core/RepositoryTreeWalker.java	Fri Feb 04 04:05:27 2011 +0100
+++ b/src/org/tmatesoft/hg/core/RepositoryTreeWalker.java	Fri Feb 04 04:06:44 2011 +0100
@@ -45,7 +45,7 @@
 	private final Mediator mediator = new Mediator();
 
 	public RepositoryTreeWalker(HgRepository hgRepo) {
-		this.repo = hgRepo;
+		repo = hgRepo;
 	}
 
 	public RepositoryTreeWalker range(int rev1, int rev2) {
--- a/src/org/tmatesoft/hg/core/StatusCommand.java	Fri Feb 04 04:05:27 2011 +0100
+++ b/src/org/tmatesoft/hg/core/StatusCommand.java	Fri Feb 04 04:06:44 2011 +0100
@@ -127,7 +127,7 @@
 	// pass null to reset
 	public StatusCommand match(Path.Matcher pathMatcher) {
 		mediator.matcher = pathMatcher;
-		throw HgRepository.notImplemented();
+		return this;
 	}
 
 	public StatusCommand subrepo(boolean visit) {