map: Fix display of remote repos
A change to break local cycles made remote repos be dropped entirely.
This commit is contained in:
parent
fc669100e5
commit
7675b83efa
2 changed files with 2 additions and 0 deletions
|
@ -155,6 +155,7 @@ spider' (r:rs) known
|
||||||
absRepo :: Git.Repo -> Git.Repo -> Annex Git.Repo
|
absRepo :: Git.Repo -> Git.Repo -> Annex Git.Repo
|
||||||
absRepo reference r
|
absRepo reference r
|
||||||
| Git.repoIsUrl reference = return $ Git.Construct.localToUrl 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)
|
| otherwise = liftIO $ Git.Construct.fromAbsPath =<< absPath (Git.workTree r)
|
||||||
|
|
||||||
{- Checks if two repos are the same. -}
|
{- Checks if two repos are the same. -}
|
||||||
|
|
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -1,6 +1,7 @@
|
||||||
git-annex (3.20120107) UNRELEASED; urgency=low
|
git-annex (3.20120107) UNRELEASED; urgency=low
|
||||||
|
|
||||||
* log: Add --gource mode, which generates output usable by gource.
|
* log: Add --gource mode, which generates output usable by gource.
|
||||||
|
* map: Fix display of remote repos
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Sat, 07 Jan 2012 18:12:09 -0400
|
-- Joey Hess <joeyh@debian.org> Sat, 07 Jan 2012 18:12:09 -0400
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue