git-annex/debian
Joey Hess 522a0922b8 sync: Fix git sync with local git remotes even when they don't have an annex.uuid set.
Catch an exception when ensureInitialized is run in a non-initted
repository. In this case, just read the git config, so that the Git.Repo
object is not LocalUnknown, which is what is used to represent remotes
on eg, drives that are not connected.

The assistant already got this right, and like with the assistant, this
causes an implicit git-annex init of the local remote on the second sync,
once the git-annex branch has been pushed to it.
See this comment for more analysis:
http://git-annex.branchable.com/todo/Recovering_from_a_bad_sync/#comment-64e469a2c1969829ee149cbb41b1c138

This commit was sponsored by jscit.
2014-07-15 14:27:43 -04:00
..
tests Debian: Run the builtin test suite as an autopkgtest. 2013-08-15 15:49:19 +02:00
changelog sync: Fix git sync with local git remotes even when they don't have an annex.uuid set. 2014-07-15 14:27:43 -04:00
compat debhelper v9 2012-01-15 14:53:38 -04:00
control network-conduit build dep in cabal was spuriious, remove 2014-07-07 12:31:27 -04:00
copyright update for ddar special remote 2014-05-15 16:37:46 -04:00
doc-base Add doc-base file. Closes: #621408 2011-04-06 21:57:22 -04:00
menu fixups 2013-05-15 22:48:27 -04:00
NEWS prep release 2013-10-02 16:13:45 -04:00
rules re-enable test suite 2013-12-30 14:39:29 -04:00