map: Fix display of remote repos

A change to break local cycles made remote repos be dropped entirely.
This commit is contained in:
Joey Hess 2012-01-08 16:05:57 -04:00
parent fc669100e5
commit 7675b83efa
2 changed files with 2 additions and 0 deletions

View file

@ -155,6 +155,7 @@ spider' (r:rs) known
absRepo :: Git.Repo -> Git.Repo -> Annex Git.Repo
absRepo reference r
| Git.repoIsUrl reference = return $ Git.Construct.localToUrl reference r
| Git.repoIsUrl r = return r
| otherwise = liftIO $ Git.Construct.fromAbsPath =<< absPath (Git.workTree r)
{- Checks if two repos are the same. -}