svn compare with branch in 7.0

When I right click on a file and select Subversion / Compare with
Branch..., I get a error dialog that says:

Error retrieving branch configuration: svn: '/home/cory/proj' is not a
working copy
svn: Cannot read from to '/home/cory/proj/.svn/format': path refers to
directory or read access is denied

Two problems:
1. "Cannot read from to" doesn't make sense :)
2. There is no /home/cory/proj/.svn directory on my machine (and thus no
format file in that directory). What should be in that file?

I don't know if it matters, but this is a project that was started in
version 6.

Thanks,
Cory

0
4 comments
Avatar
Permanently deleted user

Hello Cory,

Where exactly is your project located, and what is the Subversion URL corresponding
to the project directory?

When I right click on a file and select Subversion / Compare with
Branch..., I get a error dialog that says:

Error retrieving branch configuration: svn: '/home/cory/proj' is not a
working copy
svn: Cannot read from to '/home/cory/proj/.svn/format': path refers to
directory or read access is denied
Two problems:
1. "Cannot read from to" doesn't make sense :)
2. There is no /home/cory/proj/.svn directory on my machine (and thus
no
format file in that directory). What should be in that file?
I don't know if it matters, but this is a project that was started in
version 6.

Thanks,
Cory

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Avatar
Permanently deleted user

The iml, ipr, and iws files are in /home/cory/proj. The actual files for
the project are under that directory- /home/cory/proj/code. There is a
/home/cory/proj/code/.svn/format file there.

Is there some place for me to tell IDEA that it should be looking in the
code directory for .svn/format?

Cory

Dmitry Jemerov wrote:

Hello Cory,

Where exactly is your project located, and what is the Subversion URL
corresponding to the project directory?

>> When I right click on a file and select Subversion / Compare with
>> Branch..., I get a error dialog that says:
>>
>> Error retrieving branch configuration: svn: '/home/cory/proj' is not a
>> working copy
>> svn: Cannot read from to '/home/cory/proj/.svn/format': path refers to
>> directory or read access is denied

0
Avatar
Permanently deleted user

Ah- I think I see what you're getting at now.

My project is a multi-module project. The Project Settings dialog says
the content root is at /home/cory/proj and under that I have the modules
code, test, docs, etc...

Should I remove my top most content root (the umbrella one) and add
individual content roots for each module?

Cory

Dmitry Jemerov wrote:

Hello Cory,

Where exactly is your project located, and what is the Subversion URL
corresponding to the project directory?

>> When I right click on a file and select Subversion / Compare with
>> Branch..., I get a error dialog that says:
>>
>> Error retrieving branch configuration: svn: '/home/cory/proj' is not a
>> working copy
>> svn: Cannot read from to '/home/cory/proj/.svn/format': path refers to
>> directory or read access is denied

0
Avatar
Permanently deleted user

Changing the content root settings didn't help.

Next I tried going into the Version Control dialog from the settings
panel. Here I added entries for each module. Now I am able to select a
branch for comparison, but then I get:

Couldn't find repository location for file
'/home/cory/proj/code/src/com/foo/bar.java' under branch
'svn+ssh://cory@svn.example.com/svn/branches/rel_1_branch'

With my repo viewer, I can see that
/branches/rel_1_branch/code/src/com/foo/bar.java does exist.

Any advice on what I should try next?

Thanks,
Cory


Cory wrote:

Ah- I think I see what you're getting at now.

My project is a multi-module project. The Project Settings dialog says
the content root is at /home/cory/proj and under that I have the modules
code, test, docs, etc...

Should I remove my top most content root (the umbrella one) and add
individual content roots for each module?

Cory

Dmitry Jemerov wrote:

>> Hello Cory,
>>
>> Where exactly is your project located, and what is the Subversion URL
>> corresponding to the project directory?
>>
>>> When I right click on a file and select Subversion / Compare with
>>> Branch..., I get a error dialog that says:
>>>
>>> Error retrieving branch configuration: svn: '/home/cory/proj' is not a
>>> working copy
>>> svn: Cannot read from to '/home/cory/proj/.svn/format': path refers to
>>> directory or read access is denied

0

Please sign in to leave a comment.