Control: tags 817231 + patch
Control: tags 817231 + pending

Dear Maintainer,

I've prepared an NMU for rabbitvcs (versioned as 0.16-1.1) fixing this 
bug #817231 and have uploaded it to Debian Mentors:

https://mentors.debian.net/package/rabbitvcs

Regards.

Christopher Hoskin
diff -Nru rabbitvcs-0.16/debian/changelog rabbitvcs-0.16/debian/changelog
--- rabbitvcs-0.16/debian/changelog	2014-10-05 10:21:39.000000000 +0100
+++ rabbitvcs-0.16/debian/changelog	2016-08-27 16:06:49.000000000 +0100
@@ -1,3 +1,10 @@
+rabbitvcs (0.16-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "All files in home folder removed" Applied upstream fix as patch (Closes: #817231)
+
+ -- Christopher Hoskin <christopher.hos...@gmail.com>  Sat, 27 Aug 2016 16:06:49 +0100
+
 rabbitvcs (0.16-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru rabbitvcs-0.16/debian/patches/fix-817231.patch rabbitvcs-0.16/debian/patches/fix-817231.patch
--- rabbitvcs-0.16/debian/patches/fix-817231.patch	1970-01-01 01:00:00.000000000 +0100
+++ rabbitvcs-0.16/debian/patches/fix-817231.patch	2016-08-27 16:06:49.000000000 +0100
@@ -0,0 +1,38 @@
+Subject: Repository Browser export empties target folder
+ A critical bug, where when the user attempts to export files from within the
+ RabbitVCS Repository Browser to a local target folder, the contents of the
+ target folder are deleted without warning, and the export fails.
+Origin: upstream, https://github.com/rabbitvcs/rabbitvcs/pull/89/commits/b3dc98601d57d2e589999e491a66b562a399ce1a
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817231
+Bug: https://github.com/rabbitvcs/rabbitvcs/issues/70
+Bug: https://github.com/rabbitvcs/rabbitvcs/issues/127
+Bug: https://github.com/rabbitvcs/rabbitvcs/issues/161
+From: abaheti <abah...@tibco.com>
+Acked-by: Christopher Hoskin <christopher.hos...@gmail.com>
+Last-Update: 2016-08-28
+Applied-Upstream: commit:b3dc986, https://github.com/rabbitvcs/rabbitvcs/pull/89/commits/b3dc98601d57d2e589999e491a66b562a399ce1a
+
+---
+ rabbitvcs/vcs/svn/__init__.py | 6 +-----
+ 1 file changed, 1 insertion(+), 5 deletions(-)
+
+diff --git a/rabbitvcs/vcs/svn/__init__.py b/rabbitvcs/vcs/svn/__init__.py
+index 96d821d..dee5e7f 100644
+--- a/rabbitvcs/vcs/svn/__init__.py
++++ b/rabbitvcs/vcs/svn/__init__.py
+@@ -1237,11 +1237,7 @@ class SVN:
+         @param  recurse: Whether or not to run a recursive checkout.
+ 
+         """
+-        if os.path.exists(dest_path):
+-            if os.path.isdir(dest_path):
+-                shutil.rmtree(dest_path)
+-            else:
+-                os.remove(dest_path)
++        revision=Revision("head")
+ 
+ 
+ 
+-- 
+2.9.3
+
diff -Nru rabbitvcs-0.16/debian/patches/series rabbitvcs-0.16/debian/patches/series
--- rabbitvcs-0.16/debian/patches/series	2014-10-05 10:12:07.000000000 +0100
+++ rabbitvcs-0.16/debian/patches/series	2016-08-27 16:06:49.000000000 +0100
@@ -1 +1,2 @@
 99_setup.py.patch
+fix-817231.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to