Home » Eclipse Projects » Subversive » Reintegrate says "No changes found"
|
Re: Reintegrate says "No changes found" [message #502124 is a reply to message #502123] |
Sun, 06 December 2009 07:04 |
Chris Lercher Messages: 14 Registered: December 2009 |
Junior Member |
|
|
Seems I just found out, what the unreliability factor is: In the Reintegrate dialog, if I edit the URL input field with the keyboard (just adding a dummy character and deleting it again), it works. If I use the preselected value, and just hit Ok, it doesn't work (In that case it just tries to reintegrate the trunk with itself, according to the SVN console).
In contrast to my initial assumption, the "Use Merge view" option doesn't seem to make a difference.
However, even if the Merge view is selected, it doesn't work as I'd expect: Usually, when performing a "Team->Synchronize", I don't get diff markers in my files (I can resolve conflicts via the compare editor). But with the Reintegrate action, I always get the diff markers.
[Updated on: Sun, 06 December 2009 07:05] Report message to a moderator
|
|
|
Re: Reintegrate says "No changes found" [message #502204 is a reply to message #502124] |
Mon, 07 December 2009 08:46 |
Igor Burilo Messages: 435 Registered: July 2009 |
Senior Member |
|
|
Hello Chris,
> if I edit the URL input field with the keyboard, it works. If I use the
> preselected value, and just hit Ok, it doesn't work (In that case it just
> tries to reintegrate the trunk with itself, according to the SVN console).
In Merge dialog URL field isn't preselected, i.e. it's empty when Merge
dialog is opened, but you can select value for it from combo box.
In order to clarify that I correctly understand you have following
situation:
You're in the trunk and you want to merge changes to it from branch. So you
call Merge action where in Reintegrate tab you select from combo box URL
which point to needed branch, but instead of merging with branch you got in
Console that you merged with trunk itself.
(P.S. In order to see output in Console before executing Merge action you
can press Preview button)
> However, even if the Merge view is selected, it doesn't work as I'd
> expect: Usually, when performing a "Team->Synchronize", I don't get diff
> markers in my files (I can resolve conflicts via the compare editor). But
> with the Reintegrate action, I always get the diff markers.
Synchronize action doesn't set any diff markers in files, it just returns
statuses. What's wrong with it?
What Subversive, Connectors versions do you use?
|
|
|
Re: Reintegrate says "No changes found" [message #502208 is a reply to message #502204] |
Mon, 07 December 2009 09:07 |
Chris Lercher Messages: 14 Registered: December 2009 |
Junior Member |
|
|
Hello Igor,
Igor Burilo wrote on Mon, 07 December 2009 03:46 |
In Merge dialog URL field isn't preselected, i.e. it's empty when Merge
dialog is opened, but you can select value for it from combo box.
|
Actually, it's not empty. It's prefilled (with the correct value), because I've used the dialog before. But it appears, that this prefill is only _displayed_ in the text field, but not submitted. However, if I edit the text field in any way (e. g. by adding any character to the text field, and deleting that character again), it does submit the value.
Quote: |
In order to clarify that I correctly understand you have following
situation:
You're in the trunk and you want to merge changes to it from branch.
|
Correct.
Quote: | So you
call Merge action where in Reintegrate tab you select from combo box URL
which point to needed branch, but instead of merging with branch you got in
Console that you merged with trunk itself.
(P.S. In order to see output in Console before executing Merge action you
can press Preview button)
|
Yes, the preview also shows no changes.
Quote: |
What Subversive, Connectors versions do you use?
|
I tried both SVNKit 1.3 (which is the version that works with SVN 1.6) and JavaHL 1.6. I didn't see any difference.
|
|
| |
Re: Reintegrate says "No changes found" [message #502220 is a reply to message #502208] |
Mon, 07 December 2009 09:35 |
Igor Burilo Messages: 435 Registered: July 2009 |
Senior Member |
|
|
Hello Chris,
You're right, URL field was prefilled previously, but starting from
0.7.8.I20091023-1300 version (which is a latest Subversive release), it's
not prefilled, for more details please see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=290717 So this problem isn't
actual now.
> Hello Igor,
>
> Igor Burilo wrote on Mon, 07 December 2009 03:46
>> In Merge dialog URL field isn't preselected, i.e. it's empty when Merge
>> dialog is opened, but you can select value for it from combo box.
>
>
> Actually, it's not empty. It's prefilled (with the correct value), because
> I've used the dialog before. But it appears, that this prefill is only
> _displayed_ in the text field, but not submitted. However, if I edit the
> text field in any way (e. g. by adding any character to the text field,
> and deleting that character again), it does submit the value.
>
> Quote:
>> In order to clarify that I correctly understand you have following
>> situation:
>> You're in the trunk and you want to merge changes to it from branch.
>
>
> Correct.
>
> Quote:
>> So you call Merge action where in Reintegrate tab you select from combo
>> box URL which point to needed branch, but instead of merging with branch
>> you got in Console that you merged with trunk itself.
>> (P.S. In order to see output in Console before executing Merge action you
>> can press Preview button)
>
>
> Yes, the preview also shows no changes.
>
> Quote:
>> What Subversive, Connectors versions do you use?
>
>
> I tried both SVNKit 1.3 (which is the version that works with SVN 1.6) and
> JavaHL 1.6. I didn't see any difference.
|
|
| |
Re: Reintegrate says "No changes found" [message #502225 is a reply to message #502220] |
Mon, 07 December 2009 10:02 |
Chris Lercher Messages: 14 Registered: December 2009 |
Junior Member |
|
|
Hi,
Igor Burilo wrote on Mon, 07 December 2009 04:35 | Hello Chris,
You're right, URL field was prefilled previously, but starting from
0.7.8.I20091023-1300 version (which is a latest Subversive release), it's
not prefilled, for more details please see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=290717 So this problem isn't
actual now.
|
I'm using that exact same version. Oh, with "prefilled", I meant it's prefilled as soon as I select an entry in the combo box (not really on opening the dialog).
Quote: | "Use SVN Merge view" options means the following: merge operation is
performed, but affected by it resources are shown in SVN Merge view (which
is implemented on base of Sync view); so it's correct that there can be diff
markers in files after it.
|
I already suspected that a little bit... but I think that's not what most users want. Especially when reintegrating an entire branch, using the synchronize view to accept changes bit by bit seems to be an extremely important use case. I mean, it's impossible to run a debugger, when diff markers won't let me compile the code...
|
|
| |
Re: Reintegrate says "No changes found" [message #502649 is a reply to message #502633] |
Wed, 09 December 2009 09:44 |
Chris Lercher Messages: 14 Registered: December 2009 |
Junior Member |
|
|
Hello Igor,
I'm using Mac OS (Cocoa).
I'll have to give you the description off the top of my head, because my repository is currently not available:
First we'll have to perform some steps just to fill the combo box for the next time we use it:
Use the Reintegrate dialog and enter the branch URL.
Perform the reintegrate action.
Let's assume, this worked (or not, it doesn't really matter). Now undo by going to the command line and type "svn revert . -R" (which is the recommended way to cleanly undo a reintegrate merge before it's committed, according to the svn-book).
[If you like, you can verify here, that a reintegrate on the command line works fine. Make sure to undo this again.]
Refresh the directory in Eclipse (hit F5).
Go to the reintegrate dialog again. Now select the previously entered value from the combo box. Use the mouse to do this (it may be different if selected by keyboard arrows!) Verify that the value is displayed in the text box. Hit OK.
=> It is as if the text field hadn't been filled at all. (It tries to use the trunk as the merge source and target).
I'd guess that the combo box has a key listener, instead of a change listener (?) It's also possible, that Mac (Cocoa) sends different events, or maybe sends them in a different order.
For more on my system specs, please see my first post.
|
|
|
Re: Reintegrate says "No changes found" [message #502829 is a reply to message #502649] |
Wed, 09 December 2009 20:38 |
Jens Ohlsson Messages: 8 Registered: July 2009 |
Junior Member |
|
|
Hi.
I have the same problem. Selecting from combo history does not work. I´m
also on Mac OS (Cocoa).
And it´s not just on the reintegrate tab. It doesn´t work in the dialog
at all.
/Jens
Chris Lercher skrev 2009-12-09 10:44:
> Hello Igor,
>
> I'm using Mac OS (Cocoa).
>
> I'll have to give you the description off the top of my head, because my
> repository is currently not available:
>
> First we'll have to perform some steps just to fill the combo box for
> the next time we use it:
>
> Use the Reintegrate dialog and enter the branch URL.
>
> Perform the reintegrate action.
>
> Let's assume, this worked (or not, it doesn't really matter). Now undo
> by going to the command line and type "svn revert . -R" (which is the
> recommended way to cleanly undo a reintegrate merge before it's
> committed, according to the svn-book).
>
> [If you like, you can verify here, that a reintegrate on the command
> line works fine. Make sure to undo this again.]
>
> Refresh the directory in Eclipse (hit F5).
>
> Go to the reintegrate dialog again. Now select the previously entered
> value from the combo box. Use the mouse to do this (it may be different
> if selected by keyboard arrows!) Verify that the value is displayed in
> the text box. Hit OK.
>
> => It is as if the text field hadn't been filled at all. (It tries to
> use the trunk as the merge source and target).
>
> I'd guess that the combo box has a key listener, instead of a change
> listener (?) It's also possible, that Mac (Cocoa) sends different
> events, or maybe sends them in a different order.
>
> For more on my system specs, please see my first post.
|
|
|
Re: Reintegrate says "No changes found" [message #503450 is a reply to message #502649] |
Mon, 14 December 2009 04:36 |
Igor Burilo Messages: 435 Registered: July 2009 |
Senior Member |
|
|
Hello Chris,
I have some suggestions why it doesn't work, but I need to verify it at
first before providing the fix. Could you please check the following:
1. open CVS Repositories view (you can find it in CVS Repository
perspective) and select New/Repository Location then you'll see 'Add CVS
Repository' dialog which have similar to Subversive combo boxes
2. fill any value in 'User' field
3. fill any value in 'Repository Path' field
4. fill 'Host' field by selecting its value from combo box, where it has to
contain previously used values (if it doesn't contain previous values,
create any fake repository location at first). It's important to select its
value from combo box but not entering any text there.
5. As a result Finish button should become enabled.
What we check here: we check that Finish button has to become enabled by
reacting to selecting value from combo box; it's similar to Subversive but
in Subversive by selecting value in combo box, URL should get new value.
> Hello Igor,
>
> I'm using Mac OS (Cocoa).
>
> I'll have to give you the description off the top of my head, because my
> repository is currently not available:
>
> First we'll have to perform some steps just to fill the combo box for the
> next time we use it:
>
> Use the Reintegrate dialog and enter the branch URL.
>
> Perform the reintegrate action.
>
> Let's assume, this worked (or not, it doesn't really matter). Now undo by
> going to the command line and type "svn revert . -R" (which is the
> recommended way to cleanly undo a reintegrate merge before it's committed,
> according to the svn-book).
>
> [If you like, you can verify here, that a reintegrate on the command line
> works fine. Make sure to undo this again.]
>
> Refresh the directory in Eclipse (hit F5).
>
> Go to the reintegrate dialog again. Now select the previously entered
> value from the combo box. Use the mouse to do this (it may be different if
> selected by keyboard arrows!) Verify that the value is displayed in the
> text box. Hit OK.
>
> => It is as if the text field hadn't been filled at all. (It tries to use
> the trunk as the merge source and target).
>
> I'd guess that the combo box has a key listener, instead of a change
> listener (?) It's also possible, that Mac (Cocoa) sends different events,
> or maybe sends them in a different order.
>
> For more on my system specs, please see my first post.
|
|
| | | |
Goto Forum:
Current Time: Tue Sep 24 14:15:29 GMT 2024
Powered by FUDForum. Page generated in 0.05415 seconds
|