Bug 3346

Summary: "mgarepo submit" fails with subversion-1.7.1
Product: Mageia Reporter: Shlomi Fish <shlomif>
Component: RPM PackagesAssignee: Nicolas Vigier <boklm>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: Normal Keywords: PATCH, Triaged
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: mgarepo-1.10.1-1.mga2.src.rpm CVE:
Status comment:
Attachments: The patch attached.

Description Shlomi Fish 2011-11-15 10:34:58 CET
Description of problem:

"mgarepo submit" fails to work properly with subversion upgraded to 1.7.1. This patch fixes the problem:

--- /usr/lib/python2.7/site-packages/MgaRepo/svn.py.orig	2011-11-10 20:38:12.188303496 +0200
+++ /usr/lib/python2.7/site-packages/MgaRepo/svn.py	2011-11-10 20:38:15.464303602 +0200
@@ -192,7 +192,7 @@
     def info(self, path, **kwargs):
         cmd = ["info", path + '@' if '@' in path else path]
         status, output = self._execsvn(local=True, noerror=True, *cmd, **kwargs)
-        if "Not a versioned resource" not in output:
+        if (("Not a versioned resource" not in output) and ("svn: warning: W155010" not in output)):
             return output.splitlines()
         return None
Comment 1 Shlomi Fish 2011-11-15 10:35:38 CET
Created attachment 1058 [details]
The patch attached.
Comment 2 Manuel Hiebel 2011-11-15 16:16:22 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

Keywords: (none) => PATCH, Triaged
Assignee: bugsquad => boklm

Comment 3 Shlomi Fish 2011-11-23 09:23:30 CET
Hi all,

any news regarding this bug? It should be fixed for svn to be upgraded.

Regards,

-- Shlomi Fish
Comment 4 Nicolas Vigier 2011-11-24 16:30:01 CET
mgarepa 1.10.2 has been submitted to cauldron with this patch. Thanks.

Status: NEW => RESOLVED
Resolution: (none) => FIXED