Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » TheIde doesn't detect svn properly
Re: TheIde doesn't detect svn properly [message #40018 is a reply to message #40011] Sun, 26 May 2013 18:37 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Zbych wrote on Sun, 26 May 2013 13:44

Hi,

I don't know if it is bug or feature, but when TheIde shows this context menu:

index.php?t=getfile&id=4204&private=0

and it checks whether package has svn or not, it only scans $uppsrc and $MyApp directory. It doesn't check package directory at all. I usually have separate svn for every project and I can not synchronize my projects directly from TheIde.



Hi Zbych,

As far as I can tell, TheIDE does check currently selected package (comments added for clarity):
void Ide::ProjectSvn(Bar& menu)
{
	Vector<String> w = SvnDirs();                           // returns paths nests from current assembly, e.g. MyApps and uppsrc
	String p = GetFileFolder(PackagePath(actualpackage));   // current package folder
	if(IsSvnDir(p))
		w.Insert(0, p);                                 // inserts the package folder in the top position in the menu if
                                                                // it is inside a SVN working copy
	for(int i = 0; i < w.GetCount(); i++)                   // create the actual menu items
		menu.Add("Synchronize " + w[i], IdeImg::svn_dir(), THISBACK1(SyncSvnDir, w[i]));
	menu.Add("Synchronize everything..", IdeImg::svn(), THISBACK(SyncSvn));
}


The IsSvnDir() function also seems to work properly. So, what exactly is the problem? Even in your screenshot I can see the item for syncing MultiIOTest (even though it is cropped Smile ).


Best regards,
Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TheIde crashes when there is an error in translation file
Next Topic: BUG with .lay files - 'Z's added
Goto Forum:
  


Current Time: Mon May 13 07:22:28 CEST 2024

Total time taken to generate the page: 0.02429 seconds