subversion plugin in RC3 - Need help!!!!
I am having some serious problems with the subversion plugin in RC3 (#3425)
1. I edited a file and checked it in. The check in went thru fine and I can see 2 revisions in the history. However, when I ask for diffs, I get "files are identical". Smartsvn shows the differences correctly.
2. If I ask to get the previous version, I get an empty file. Smartsvn is able to get the earlier version correctly.
3. Now if I ask to get the latest version, it asks if I want to override the file, if I say yes it gets the file but again, the file is empty. Smartsvn correctly updates the file.
Based on this - all I am able to do so far is look at history and compare the local (modified) version with the version from repository. But most of the other basic operations are not working. I guess I am doing something very basic wrong.
Are people able to use this plugin correctly and productively? If not this might become the cause for loosing to eclipse or having to use a 3rd party tool like smartsvn.
Please sign in to leave a comment.
Also when I deleted a file from the project, it went ahead and deleted the file from repository without asking. This is too dangerous. cvs plugin asks if I want to delete from repository.
On deletion file is not deleted from repository, but merely scheduled for deletion. You may always restore previous version using "Revert" context menu command.
File is deleted from repository at the time you commit your local modifications.
Alexander Kitaev wrote:
"Revert" context menu on WHAT thou? If the files deleted from the local
system, you can't click on it...
I just started using SVN a little, but I haven't seen this problem. My diffs look good and I can get old versions. You can compare my SVN configuration from one of my postings yesterday.
The only problem I noticed with get is that the status bar says "Get version from cvs" instead of from svn (but I have no CVS here).
Cheers,
11011011
In article <dc9fjr$d1q$1@is.intellij.net>,
Mark Derricutt <mark@talios.com> wrote:
Do it on the folder
Robert S. Sfeir wrote:
Hopefully it prompts what files to revert and not the whole folder :)
In article <dc9krt$h4$1@is.intellij.net>,
Mark Derricutt <mark@talios.com> wrote:
sure does, then you can pick which ones to revert.
I installed svn on windows and the svn plugin is working great on windows build 3429. On my FC3, I installed the svn download available for FC1/FC2 thinking it might be the same for FC3. I am not sure if this is what is causing the issue but I still have the issues mentioned above on FC3/3429.
Please get the latest available build and repeat your actions one by one:
1. create a file, add it to subversion
2. make a commit - file should be in repository, with valid contents. check it with your browser or by doing check out form the command line.
3. modify the file.
4. perform diff commands - against BASE revision and against HEAD revisions - diff should be correct.
5. commit the file and check that is was committed properly.
If any of the above points will fail - please let me know with the exact description of the problem, if possible.
Thanks,
Alexander Kitaev.
Installed a brand new version.
$ svn --version
svn, version 1.2.1 (r15230)
compiled Jul 13 2005, 05:47:23
Copyright (C) 2000-2005 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
I did the following:
1. I added a brand new file
2. Checked in the directory
3. Edited the same file
4. checked in the edited file
5. Show history shows 2 versions for this file
6. Compare between LATEST and LATEST - 1 says files are identical.
7. Asked to Get the LATEST -1 version - modified the editor window with an empty file
So basically nothing other than show history is working on my Fedora Core 3 box. The exact same steps work fine on windows. On the FC3 box, smartsvn works great.
Not sure what else needs to be checked. Is there a way to turn on the logging for svn so that I can send you the output?
I even tried creating a brand new user and running the same steps as that user thinking something might have gone wrong in the earlier user setup. I run into one exception for this new user:
java.io.FileNotFoundException: ./svn-contents.tmp1 (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179) at java.io.FileOutputStream.]]>(FileOutputStream.java:131)
at org.tmatesoft.svn.core.wc.SVNWCClient.doGetFileContents(SVNWCClient.java:224)
at org.jetbrains.idea.svn.history.SvnFileRevision$ConentLoader.run(SvnFileRevision.java:141)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:33)
at com.intellij.openapi.application.impl.ApplicationImpl$1MyThread.run(ApplicationImpl.java:9)
I just tried this on my idea-3429 on FC3, but it worked. I'm using Fedora's original SVN:
$ svn --version
svn, version 1.1.4 (r13838)
compiled Apr 5 2005, 05:18:28
Maybe you should include the server and repository details, especially the protocol you're using to access the server?
Cheers,
11011011
The exception you got means that user who runs IDEA doesn't have an access to "." (program directory) where "cat" operation creates temporary files.
Actually it is a bug, I will fix it soon - files should be created in the system tmp directory.
SmartSVN AFAIK uses the same version of the library that is used in IDEA integration, so I suppose there is something wrong with IDEA integration :(
When writing then "nothing other then show history works" you made a mistake - you'were able to add and commit file. So may be it is "diff" operation that doesn't work.
I am sorry -
the add/commit works
the diff/get did not work.
I think delete works - but I have not tested that fully.
I will try using svn 1.1.4 on FC3 and let you know.
I tried with 1.1.4 and I am still having the same issues.
The protocol I am using is svn+ssh.
I am having the same problem. When I get the history for a file, I get a complete list of changes, but when I select 2 revisions, right-click, and select "Compare", it always says that the files are identical.
If I select 'Compare With Local', the comparison seems to suggest that the depot file has nothing in it. This happens on every file.
I am using Windows XP.
Jon Nichols
I couldn't reproduce this problem with IDEA #3437 (5.0).
What build of IDEA do you use?
Could you please check IDEA log file for error messages.
Check that "base" file in .svn/text-base/filename.svn-base directory is not empty.
What version of the subversion server do you use? You may get version of the server by going to your repository location with the web browser - there will be a version displayed in the bottom of the page.
Thanks!