* viewcvs/lib/blame
(link_includes): Use the more generic itemtype() interface instead of the rcsfile() one. git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1099 8cb11bc2-c004-0410-86c3-e597b4017df7remotes/tags/1.0.0-rc1
parent
828ee07077
commit
a5ad1e5f41
|
@ -54,8 +54,9 @@ def link_includes(text, repos, path_parts, include_url):
|
|||
for depth in (-1, -2):
|
||||
include_path = path_parts[:depth] + [incfile]
|
||||
try:
|
||||
repos.rcsfile(include_path) # will throw if path doesn't exist
|
||||
break
|
||||
# will throw if path doesn't exist
|
||||
if repos.itemtype(include_path) == vclib.FILE:
|
||||
break
|
||||
except vclib.ItemNotFound:
|
||||
pass
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue