qct not able to perform file operations (e.g. diff) within svn repositories

Bug #501630 reported by martinz
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
qct (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: qct

I'm using qct with svn. The modified files are displayed but neither the diff to head is shown nor operations like commit, revert etc. is working.

It appears that the output of "svn status" returns a list with 8 characters before the file name:

M Proxy/CMakeLists.txt

/usr/share/pyshared/qctlib/vcs/svn.py line 97 assumes that the name begins at position 7.
As a result the filename would be ' Proxy/CMakeLists.txt' instead 'Proxy/CMakeLists.txt'.

Replacing the 7 with an 8 in line 97 fixes this for me.

ProblemType: Bug
Architecture: amd64
Date: Wed Dec 30 14:14:24 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: qct 1.7-1 [modified: usr/share/pyshared/qctlib/vcs/svn.py]
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=de_DE.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: qct
Uname: Linux 2.6.31-16-generic x86_64

Revision history for this message
martinz (irezumi) wrote :
Changed in qct (Ubuntu):
status: New → Confirmed
Revision history for this message
Hans Meine (hans-meine) wrote :

This bug is rather old and fixed upstream, but still exists in Natty.

See also: http://futurechimp.org/tags/qct

Hans Meine (hans-meine)
summary: - qct not able to perform operations on displayed files
+ qct not able to perform file operations (e.g. diff) within svn
+ repositories
Revision history for this message
martinz (irezumi) wrote :

I do not understand the proposed fix from http://futurechimp.org/tags/qct
It's in 1.7-1 but qct still does not work with Ubuntu subversion.

Now I change the 7 into an 8 in TWO lines in /usr/share/pyshared/qctlib/vcs/svn.py : 93 and 97.

Would be nice if someone can push this into the distro one time...

Revision history for this message
Hans Meine (hans-meine) wrote :

Maybe attaching a patch makes this bug more likely to be fixed.

(Easy to test, too: try committing into *any* SVN repository using qct.)

Revision history for this message
Hans Meine (hans-meine) wrote :

BTW, AFAIK Steve Borho is nowadays busy maintaining TortoiseHg, which is why he might not have prepared any qct releases.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "qct_svn_status_columns.diff" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Hans Meine (hans-meine) wrote :

What a pity that this bug survived yet another distribution upgrade, despite the trivial fix & existing patch.

Even if not many people seem to use qct (with svn), this fix should be shipped at last!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.