GNOME Bugzilla – Bug 745781
resolve not working
Last modified: 2015-08-29 21:04:29 UTC
if you try to resolve a svn conflict as suggested by the dialog, meld hangs & you get a stack trace on console: Traceback (most recent call last):
+ Trace 234796
response = self.try_remove_page(page, appquit=1)
response = page.on_delete_event(appquit)
response = self.check_save_modified()
parent.command('resolve', [conflict_file])
command(self._command, files)
raise NotImplementedError() NotImplementedError
As far as I can see (I'm no python programmer) only git and bzr implement resolve. The commandline of svn to mark it as resolved would be svn resolved FILE so this is defined in resolved_command - but I don't see any of them use this definition as a generalized solution. I would say it should be similiar to the bzr one: def resolve(self, runner, files): runner( [self.CMD] + self.CMDARGS + ["resolved"] + files, [], refresh=True, working_dir=self.root) Filed as bug in Mageia 5: https://bugs.mageia.org/show_bug.cgi?id=15420
For me, the real problem here is that we shouldn't even be trying to call the resolve helper, since our subversion plugin doesn't support it. Fixing the subversion plugin would be nice, but since we don't have an actual maintainer for that plugin, it'll have to wait. I've pushed a horrible fix for this, so conflict resolutions for subversion repos just won't prompt to resolve. The resolve action from the UI will still work... it's just the prompted resolve that won't happen. Thanks for the bug report.
Maybe your are right in arguing what is a bug or a feature, so maybe we should call this a bug/feature. But in mageia the suggested a fix for this behaviour: https://bugs.mageia.org/show_bug.cgi?id=15420#c10 and even there is no maintainer for this, any maintainer of the git/mercurial repo-support can add a simple command for execution. I think implementing this call is easier and more user friendly, than to work around this. And please face it, svn and cvs are still alive - not every project has migrated and wants to migrate to distributed version controls. So please don't deactivate features (that are really helpful) only because two lines of code has to be changed in a unmaintained package.
This has been fixed with the version control subsystem rewrite in 3.15.