Bug 3346 - "mgarepo submit" fails with subversion-1.7.1
Summary: "mgarepo submit" fails with subversion-1.7.1
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Nicolas Vigier
QA Contact:
URL:
Whiteboard:
Keywords: PATCH, Triaged
Depends on:
Blocks:
 
Reported: 2011-11-15 10:34 CET by Shlomi Fish
Modified: 2011-11-24 16:30 CET (History)
0 users

See Also:
Source RPM: mgarepo-1.10.1-1.mga2.src.rpm
CVE:
Status comment:


Attachments
The patch attached. (600 bytes, patch)
2011-11-15 10:35 CET, Shlomi Fish
Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.