diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-01-29 14:04:39 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-01-29 14:04:39 -0400 |
commit | a92ab3e0a734a0c2b9f37a19d6041ea1bcb6150f (patch) | |
tree | bc382ca0f85e18a49d7ddcac769abac598732c9e | |
parent | c974ab59f7069833f790bc4dd1a71d9f2f0773cf (diff) |
webapp: Fix deletion of current repository directory.
removeDirectoryRecursive "." fails; need full path.
I think this is a reversion introduced in the relative path conversion, in
january of *last* year!
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | doc/bugs/removeDirectoryRecursive.mdwn | 2 | ||||
-rw-r--r-- | doc/bugs/removeDirectoryRecursive/comment_1_dc8d7f4072833b013e17935b657a9cdd._comment | 12 |
3 files changed, 14 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 962c76d22..ffe840aa7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ git-annex (6.20160127) UNRELEASED; urgency=medium adding files not matching annex.largefiles. * Fix reversion in lookupkey, contentlocation, and examinekey which caused them to sometimes output side messages. + * webapp: Fix deletion of current repository directory. -- Joey Hess <id@joeyh.name> Thu, 28 Jan 2016 13:53:09 -0400 diff --git a/doc/bugs/removeDirectoryRecursive.mdwn b/doc/bugs/removeDirectoryRecursive.mdwn index 3b8ab239b..b1b3630d1 100644 --- a/doc/bugs/removeDirectoryRecursive.mdwn +++ b/doc/bugs/removeDirectoryRecursive.mdwn @@ -27,4 +27,4 @@ I just downloaded and installed Git Annex. This problem was there from day 1. ### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) - +> Fixed it to properly delete the repo. [[done]] --[[Joey]] diff --git a/doc/bugs/removeDirectoryRecursive/comment_1_dc8d7f4072833b013e17935b657a9cdd._comment b/doc/bugs/removeDirectoryRecursive/comment_1_dc8d7f4072833b013e17935b657a9cdd._comment new file mode 100644 index 000000000..db96cf35b --- /dev/null +++ b/doc/bugs/removeDirectoryRecursive/comment_1_dc8d7f4072833b013e17935b657a9cdd._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2016-01-29T17:59:18Z" + content=""" +Reproduced this. The repository deletion seems to work, except it falls on +the last hurdle, of removing the actual repository itself. This also +prevents the webapp from shutting down properly. + +So, to get out of this state, kill git-annex and delete the directory +yourself. +"""]] |