diff src/org/tmatesoft/hg/core/RepositoryTreeWalker.java @ 67:64bddc2dcc0e

Tests for manifest cmd
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 21 Jan 2011 19:21:43 +0100
parents 19e9e220bf68
children 6f1b88693d48
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/RepositoryTreeWalker.java	Fri Jan 21 18:20:05 2011 +0100
+++ b/src/org/tmatesoft/hg/core/RepositoryTreeWalker.java	Fri Jan 21 19:21:43 2011 +0100
@@ -54,6 +54,11 @@
 		throw HgRepository.notImplemented();
 	}
 	
+	public RepositoryTreeWalker revision(int rev) {
+		startRev = endRev = rev;
+		return this;
+	}
+	
 	public RepositoryTreeWalker dirs(boolean include) {
 		// XXX whether directories with directories only are include or not
 		// now lists only directories with files