[PATCH 1 of 3] test-hgweb-json: fix URL for file revision tests

Gregory Szorc gregory.szorc at gmail.com
Wed Apr 1 06:02:08 UTC 2015


# HG changeset patch
# User Gregory Szorc <gregory.szorc at gmail.com>
# Date 1427863750 25200
#      Tue Mar 31 21:49:10 2015 -0700
# Node ID 93a8bab1c04858d9a4276d6727891959b788c1f6
# Parent  1b97cc5d2272c272961cc3e1d738e521af012a40
test-hgweb-json: fix URL for file revision tests

Likely a copy and paste fail.

diff --git a/tests/test-hgweb-json.t b/tests/test-hgweb-json.t
--- a/tests/test-hgweb-json.t
+++ b/tests/test-hgweb-json.t
@@ -90,16 +90,16 @@
 (rawfile/ doesn't use templating - nothing to test)
 
 file/{revision}/{path} shows file revision
 
-  $ request json-rev/06e557f3edf6/foo
+  $ request json-file/06e557f3edf6/foo
   200 Script output follows
   
   "not yet implemented"
 
 file/{revision} shows root directory info
 
-  $ request json-rev/06e557f3edf6
+  $ request json-file/06e557f3edf6
   200 Script output follows
   
   "not yet implemented"
 


More information about the Mercurial-devel mailing list