Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [plug-in] Comparing two remote branches in Synchronize view
[plug-in] Comparing two remote branches in Synchronize view [message #547206] Thu, 15 July 2010 18:39 Go to previous message
Dariusz Luksza is currently offline Dariusz Luksza
Messages: 40
Registered: July 2010
Member

Hi all,

I'm currently implementing EGit integration with Synchronize view. Current status of my project is that, is supports selecting two branches and viewing changes in Synchronize view.

Everything works fine if branch that was selected as base branch is same as currently used (in git's terminology this means that this is a HEAD). But things goes wrong wen selected branch is different then HEAD. In this case team framework will use local files as a 'local' (in three-way-compare) source, this is quite logical for centralized version control systems. In this case result that will be shown in synchronize view will be corrupted. Additionally all code previous in compare view will be also corrupted because 'local' is pointing on local files instead of pointing on files that are in selected branch.

I'm wondering is there any (simple) way to bypass this and initialize 'local' with data from selected branch ?

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Problems with "Synchronize with patch"
Next Topic:Unable to delete/move files after opening
Goto Forum:
  


Current Time: Sat May 25 01:58:19 EDT 2013

Powered by FUDForum. Page generated in 0.02436 seconds