-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move/Copy commands in eclipse loses the SVN-history #22
Comments
Hello @oilid ,
|
Thanks so long for your support! |
Hello @oilid ,
If you find any information how to track copy operations with retrieving the source and destination path for the operation, you will help me a lot. |
Hey, In that case eclipse is really stupid. I didn't imagine some "enhancements" like this are not supported :-/ Unfortunately I don't know how to solve this issue. So do you think it is possible to handle these both events (rename and move)? |
Hello @oilid , You would have to enable the team provider in the project context menu: There I can add an entry for Tortoise SVN: Do you currently use any other SVN team provider for your eclipse projects? As far as a saw there can only be one at a time. |
Hey @ContextQuickie , I think this would be great. No, we don't use any other team provider. We just removed Subclipse because of several performance issues and moved to your solution. If you have a first developing release, I will have a look especially concerning this performance issue (our project is really big and monolithic)... |
Hello @oilid , |
Hey @ContextQuickie, I just checked your development version and new team provider. But I can't see any output in eclipse. So in which console I can check your "System.out.format"? Without an output I don't know if your implementation is "handled"/requested. Greetz |
Hello @oilid ,
The output isn't very important, more interesting from my side is if there are any performance issues with it. |
Ah okay, thanks! I will check this the next days :) |
Ok, if you have some time left: I'll add a new version to the development site supporting copy/move/add single files by using SVNKit 1.8.15 (Please install it before updating the ContextQuickie TeamProvider from http://eclipse.svnkit.com/1.8.x). Do not use version 1.9.x, this seems to be an incompatible version, I'm working on it.
|
Hey @ContextQuickie, thanks a lot. I tested some use cases and generally it works. But I had just some problems:
resourceChanged: copied C:\Users\blubb\eclipse-workspace\taglib-trunk\src\main\java\de\work\bmanwfam\TestModel.java to C:\Users\blubb\eclipse-workspace\taglib-trunk\src\main\java\de\work\bmanwfam\taglib2\images\TestModel.java The target folder is a svn ignore resource, so this is not useful and wrong.
From these points:
I think the first one is the most important one... By the way: the performance is with my small test project is great but of course I have to test it with our big project another time again ;-) Best regards! |
Hello @oilid , |
Hey @ContextQuickie, both issues result in exceptions:
But the file is copied correctly, so the file "TestModel.java" is shown a new svn resource in the target folder. But unfortunately the mentioned exception occurs.
So both issues has a dependency to the target (build) folder which is on svn ignore... |
Hello @oilid , |
Hey @ContextQuickie, the exceptions are not shown anymore. The copy and rename file commands work as expected.
The file TestModel.java will be handled as completley new file with a new history but this wrong (the screenshot shows "Show Log" on this file): Before this screenshot and after renaming the package from "de.work.bmanwfam" to "de.work.foo" I got TestModel.java marked as missing file (shown in the tortoise svn commit window). Greetings :-) |
Hello @oilid , |
@oilid: Next version is available at the development update site. Can you please have a look at it? |
Hello @oilid, |
Hey @ContextQuickie, sorry for the delay, now I'm available again :-) This is the log output:
The resources are all marked as missing in the commit dialog: Can you reproduce the problem and may fix it? |
Hey @ContextQuickie, do you still have this issue on focus? Best regards, |
Hi @oilid , |
Hello @oilid, BR |
Hey Roland, are still using SVNKit or Silk SVN now? Because on a fresh eclipse installation I can't install Context Quickie:
Greetings |
Hi @oilid , |
How can you use a windows application as dependency? I think thats why i'm getting now:
JavaHL is part of Silk SVN? I installed the Silk SVN 64 bit and I'm using the same enviroment for eclipse (Version: 2018-09 (4.9.0)). |
I need SilkSVN to provide the library libsvnjavahl-1.dll and it's dependencies. The SilkSVN path (e.g. C:\Program Files\SlikSvn\bin) should be in the Windows path environment variable so that my plugin can find the required dll(s). |
Hey Roland, okay, now I understand your purpose. I added the SlikSVN-Path to the path environment variable and it worked. All my tests (renaming / refactoring etc.) run successfully. Is there no chance for svnkit? Because ContextQuickie is used for maybe 30 developers in our company and with these preconditions everyone has to get SlikSVN and has to change Windows path environment variable manually. And is there no conflict if "C:\Program Files\SlikSvn\bin" and "C:\Program Files\TortoiseSVN\bin" are both in the path at the same time (because of svn.exe etc.)? Please do not understand these questions/critique wrong. I'm really happy about your work and support :-) |
Thanks for testing. You're right, that's not the best solution but currently sufficient for testing the implementation. Having two (maybe different) SVN (command line) clients installed at the same time is obviously not practical. |
Hello @oilid, |
Hey, 64Bit 😊 the Versionnumber is TortoiseSVN 1.10.1, Build 28295 - 64 Bit. |
Hi @oilid,
BR |
Hey @ContextQuickie, thanks a lot! I first tested your new version with TortoiseSVN 1.10.1, Build 28295 - 64 Bit and it fails.
and
Then I upgraded to TortoiseSVN 1.11.0, Build 28416 - 64 Bit and everything works... So is there a chance to be more independent from the TortoiseSVN-Version? But I think I can also ask my company to upgrade our TortoiseSVN version from 1.10.1 to 1.11.0 when I checked/tested all impacts of the new version. |
Hi @oilid,
In both cases new Tortoise SVN versions will also cause new DLLs for the plugin. The best long term solution in my opinion: Ask the Tortoise SVN team to provide the DLL with the default installation (similar to Silk SVN). |
Hey Roland, thanks for your advices!
So the user has no nothing to care for... Best regards and have a nice week, |
Hi @oilid, |
Hey Roland, it works great now. I tested both versions of TortoiseSVN 1.10.1 and 1.11.0 again. So if you like, you can release this version now, I think ;-) THANKS again! |
Hi @oilid, |
Hey @ContextQuickie,
during my work with eclipse I recognized a really bad issue if I use the refactoring command in eclipse for example with moving a resource / java file. So in this case the svn history is of course lost because tortoise svn doesn't recognize these move/copy commands by eclipse. In "Windows explorer" moving a resource (for keeping the svn history) is done by moving and releasing it with the right mouse button. But this couldn't be done in eclipse and would of cource does not include the nice eclipse refactoring feature.
Do you have any idea if this problem could be workarounded or solved?
Best regards!
The text was updated successfully, but these errors were encountered: