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 |
|
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:
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 ).
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Mon May 13 07:22:28 CEST 2024
Total time taken to generate the page: 0.02429 seconds
|