##// END OF EJS Templates
Improved error message for log --follow...
Brendan Cully -
r7404:07cb58b8 default
parent child Browse files
Show More
@@ -1033,6 +1033,8 b' def walkchangerevs(ui, repo, pats, chang'
1033 if node is None:
1033 if node is None:
1034 # A zero count may be a directory or deleted file, so
1034 # A zero count may be a directory or deleted file, so
1035 # try to find matching entries on the slow path.
1035 # try to find matching entries on the slow path.
1036 if follow:
1037 raise util.Abort(_('cannot follow nonexistent file: "%s"') % file_)
1036 slowpath = True
1038 slowpath = True
1037 break
1039 break
1038 else:
1040 else:
@@ -5,7 +5,7 b' date: Thu Jan 01 00:00:01 1970 +0'
5 summary: a
5 summary: a
6
6
7 % -f, directory
7 % -f, directory
8 abort: can only follow copies/renames for explicit file names
8 abort: cannot follow nonexistent file: "dir"
9 % -f, but no args
9 % -f, but no args
10 changeset: 4:b30c444c7c84
10 changeset: 4:b30c444c7c84
11 tag: tip
11 tag: tip
General Comments 0
You need to be logged in to leave comments. Login now