After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 403193 - Can't resolve subversion conflicts
Can't resolve subversion conflicts
Status: RESOLVED FIXED
Product: meld
Classification: Other
Component: version
1.1.x
Other Linux
: Normal normal
: ---
Assigned To: Vincent Legoll
Stephen Kennedy
Depends on:
Blocks:
 
 
Reported: 2007-02-01 12:26 UTC by Joachim Noreiko
Modified: 2009-05-01 09:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Resolve (SVN) conflicts feature (9.32 KB, patch)
2007-08-10 09:14 UTC, Matthijs van de Water
none Details | Review
Icon needed for resolve toolbar button (736 bytes, image/png)
2007-08-10 09:15 UTC, Matthijs van de Water
  Details
rediffed, ported to git master HEAD (5.14 KB, patch)
2009-04-27 18:34 UTC, Vincent Legoll
none Details | Review
This time it looks like it's working properly: buttons show up (6.11 KB, patch)
2009-04-29 21:36 UTC, Vincent Legoll
committed Details | Review

Description Joachim Noreiko 2007-02-01 12:26:13 UTC
Meld says a file has a conflict even once I've removed the markers in it by hand.

Looking at the svn manual here: http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html#svn.tour.cycle.resolve
it says I have to give the command '$ svn resolved sandwich.txt'.
Doing this in the terminal worked -- upon refreshing Meld's display, the file was correctly marked as modified.

There doesn't seem to be a way to do this from within Meld.
Comment 1 Matthijs van de Water 2007-08-10 09:14:12 UTC
Created attachment 93420 [details] [review]
Resolve (SVN) conflicts feature
Comment 2 Matthijs van de Water 2007-08-10 09:15:06 UTC
Created attachment 93421 [details]
Icon needed for resolve toolbar button
Comment 3 Matthijs van de Water 2007-08-10 09:16:48 UTC
The attached patch adds an initial 'works for me' version of this feature. I've added a few other VCs than SVN, but only tested it on SVN.

The PNG goes into glade2/pixmaps

Patch is based on current SVN version of Meld.

Any comments more than welcome.
Comment 4 Stephen Kennedy 2007-08-15 20:30:48 UTC
I'm a little wary of introducing UI which only works for one vc system.

I've added stubs to the VC base object so that vcview can enquire which methods are optionally supported. (VC.get_capabilities()). Can you change the patch so that vcview only shows the resolve UI when it is supported?
Comment 5 Matthijs van de Water 2007-09-07 14:00:51 UTC
I can do that, though I cannot promise you when. 
Would you rather not show the button/menu item or make it greyed out?
Comment 6 Stephen Kennedy 2007-09-08 10:35:26 UTC
It should be hidden if it doesn't make sense for a system.
Comment 7 Anders Olsson 2008-09-30 09:24:54 UTC
I for one would love to see this functionality in Meld.
Comment 8 Vincent Legoll 2009-04-27 18:34:20 UTC
Created attachment 133435 [details] [review]
rediffed, ported to git master HEAD

This is not working the resolved button does not appear in the vcview page, but I can't see why. Could someone have a look a this ? Patch looks obvious, yet it fails to work...
Comment 9 Vincent Legoll 2009-04-27 19:01:02 UTC
Re: Stephen comment #6
The button will be greyed as any command not immplemented by a VC plugin,
so this can and should (imho) be implemented, it does not cost much.
Comment 10 Stephen Kennedy 2009-04-28 07:49:20 UTC
Yes, you're right about greying out. Don't forget to add the button to the ui
definition in glade2/vcview-ui.xml to make it appear.
Comment 11 Vincent Legoll 2009-04-29 21:36:01 UTC
Created attachment 133611 [details] [review]
This time it looks like it's working properly: buttons show up
Comment 12 Stephen Kennedy 2009-04-30 07:34:18 UTC
Haven't tested but the patch looks good & clean.
Comment 13 Vincent Legoll 2009-05-01 08:57:04 UTC
Thanks Matthijs I updated your patch to current meld code and committed.
Nice improvement.
Comment 14 Vincent Legoll 2009-05-01 09:06:37 UTC
I also committed a patch to use your nice picture for the button