Discussion:
Is there anything that TortoiseSVN can do that can't be done through Netbeans?
jhfrench
2013-01-28 15:40:39 UTC
Permalink
I was reading that the Netbeans IDE has built-in Subversion support. I've also seen a reference to using Netbeans and Subversion together. But I've been a long-time Tortoise user, and I know it can slow down the Windows shell. Is it redundant to install TortoiseSVN if you are using NetBeans? Is there anything that TortoiseSVN can do that can't be done through Netbeans?

(for those with StackOverflow.com accounts, I asked this question at http://stackoverflow.com/questions/14512793/is-there-anything-that-tortoisesvn-can-do-that-cant-be-done-through-netbeans)
Edson Richter
2013-01-28 19:47:30 UTC
Permalink
Post by jhfrench
I was reading that the Netbeans IDE has built-in Subversion support. I've also seen a reference to using Netbeans and Subversion together. But I've been a long-time Tortoise user, and I know it can slow down the Windows shell. Is it redundant to install TortoiseSVN if you are using NetBeans? Is there anything that TortoiseSVN can do that can't be done through Netbeans?
(for those with StackOverflow.com accounts, I asked this question at http://stackoverflow.com/questions/14512793/is-there-anything-that-tortoisesvn-can-do-that-cant-be-done-through-netbeans)
For instance, I do use TortoiseSVN sometimes to recover from some
"weird" situations.
After you "add" (and before commit) a file to SVN, NetBeans has no way
to ignore it. Trying to do so causes a error in NB.
In TortoiseSVN there is the magic "Unversion and add to ignore list",
that is wonderful.
Also, there are other actions that I only remember when I'm in a hurry
(not now).

Maybe I'm too lazy to file a request enhancement in NB, but since
Tortoise works perfectly in my Win 7...

Regards,

Edson Richter
Stadelmann Josef
2013-01-29 09:00:51 UTC
Permalink
Edson

This is a very good issue NB developers should at least consider at least check.
Otherwise, when a directory with its content is under SVN version control, i.e. a
working copy, why should SVN layers not flag a file with a "?" signaling to the
user that an action is required and that somebody should tell SVN what to do now
with that file. The user should then be able to "ADD" it to SVN and later "COMMIT"
or signal SVN that this file should be excluded from a "COMMIT".

To prove. I just added a file gaga.properties to my project and immediately it was
green-colored and hovering with the mouse ouver it says "Localy New"; RMB down /
Subversion / ... you have two choices
IGNORE which flags the file with light-grey-color or
EXCLUDE FROM COMMIT which keeps it green-colored, but flagges it somehow to be
excluded when we COMMIT is given.

And that works when I made one of the two tools known to NB,
either SVN Client or SVNTortoise via
Tools / Option / Miscellaneous / Version / Subversion / Path to C:\Program Files\TortoiseSVN\bin
OR
Tools / Option / Miscellaneous / Version / Subversion / Path to C:\Program Files\CollabNet\Subversion Client


I think NB 7.2.1 in conjunction with SVN or Tortoise does what you want,
this on the risk that I miss something.

Josef


-----Ursprüngliche Nachricht-----
Von: Edson Richter [mailto:***@hotmail.com]
Gesendet: Montag, 28. Januar 2013 20:48
An: ***@netbeans.org
Betreff: [nbusers] Re: Is there anything that TortoiseSVN can do that can't be done through Netbeans?
Post by jhfrench
I was reading that the Netbeans IDE has built-in Subversion support. I've also seen a reference to using Netbeans and Subversion together. But I've been a long-time Tortoise user, and I know it can slow down the Windows shell. Is it redundant to install TortoiseSVN if you are using NetBeans? Is there anything that TortoiseSVN can do that can't be done through Netbeans?
(for those with StackOverflow.com accounts, I asked this question at
http://stackoverflow.com/questions/14512793/is-there-anything-that-tor
toisesvn-can-do-that-cant-be-done-through-netbeans)
For instance, I do use TortoiseSVN sometimes to recover from some "weird" situations.
After you "add" (and before commit) a file to SVN, NetBeans has no way to ignore it. Trying to do so causes a error in NB.
In TortoiseSVN there is the magic "Unversion and add to ignore list", that is wonderful.
Also, there are other actions that I only remember when I'm in a hurry (not now).

Maybe I'm too lazy to file a request enhancement in NB, but since Tortoise works perfectly in my Win 7...

Regards,

Edson Richter
Edson Richter
2013-01-29 12:48:23 UTC
Permalink
Post by Stadelmann Josef
Edson
This is a very good issue NB developers should at least consider at least check.
Otherwise, when a directory with its content is under SVN version control, i.e. a
working copy, why should SVN layers not flag a file with a "?" signaling to the
user that an action is required and that somebody should tell SVN what to do now
with that file. The user should then be able to "ADD" it to SVN and later "COMMIT"
or signal SVN that this file should be excluded from a "COMMIT".
To prove. I just added a file gaga.properties to my project and immediately it was
green-colored and hovering with the mouse ouver it says "Localy New"; RMB down /
Subversion / ... you have two choices
IGNORE which flags the file with light-grey-color or
EXCLUDE FROM COMMIT which keeps it green-colored, but flagges it somehow to be
excluded when we COMMIT is given.
And that works when I made one of the two tools known to NB,
either SVN Client or SVNTortoise via
Tools / Option / Miscellaneous / Version / Subversion / Path to C:\Program Files\TortoiseSVN\bin
OR
Tools / Option / Miscellaneous / Version / Subversion / Path to C:\Program Files\CollabNet\Subversion Client
I think NB 7.2.1 in conjunction with SVN or Tortoise does what you want,
this on the risk that I miss something.
I'm using 7.2.1 and 7.3 RC1. I've added a directory, and then before
commit I want to remove from SVN and add to ignore list. Tortoise has
the convenient "Unversion and add to ignore list". When I tried to
include the folder in the ignore list using NetBeans it gave an error,
and I had no time to report the issue (I've tons of reports on 7.3
version, but I have time shortage these days)

Regards,

Edson
Post by Stadelmann Josef
Josef
-----Ursprüngliche Nachricht-----
Gesendet: Montag, 28. Januar 2013 20:48
Betreff: [nbusers] Re: Is there anything that TortoiseSVN can do that can't be done through Netbeans?
Post by jhfrench
I was reading that the Netbeans IDE has built-in Subversion support. I've also seen a reference to using Netbeans and Subversion together. But I've been a long-time Tortoise user, and I know it can slow down the Windows shell. Is it redundant to install TortoiseSVN if you are using NetBeans? Is there anything that TortoiseSVN can do that can't be done through Netbeans?
(for those with StackOverflow.com accounts, I asked this question at
http://stackoverflow.com/questions/14512793/is-there-anything-that-tor
toisesvn-can-do-that-cant-be-done-through-netbeans)
For instance, I do use TortoiseSVN sometimes to recover from some "weird" situations.
After you "add" (and before commit) a file to SVN, NetBeans has no way to ignore it. Trying to do so causes a error in NB.
In TortoiseSVN there is the magic "Unversion and add to ignore list", that is wonderful.
Also, there are other actions that I only remember when I'm in a hurry (not now).
Maybe I'm too lazy to file a request enhancement in NB, but since Tortoise works perfectly in my Win 7...
Regards,
Edson Richter
Owen Thomas
2013-01-28 23:13:43 UTC
Permalink
AFAIK, the SVN client provided in Netbeans can do everything any other
client (Tortoise et al) can do. The only time when I have had to consider
using a separate client is when, for reasons that involve the incomplete
implementation of structures drawing on Java generics, the IDE would hang
when it tried to check the syntax of my code.

I was recently subject to such a circumstance, and I needed to consider
installing a separate client when I deliberated the management of a code
base subject to the deletion of directories. If you are removing packages
or reorganising the package names of your source files while trying to
maintain an unstable code base that hangs the compiler, then maybe a
separate client may need to be installed. Thankfully, in my recent
circumstance, I pulled through without the need of resorting to a separate
client.

If ever this becomes your circumstance, you will receive my sincerest
sympathies. It would be very frustrating for you if your circumstance
persisted; you would have to resort to a time consuming compile/edit/repeat
cycle until your circumstances change. With an external SVN client, you
would retain the ability to keep your working copy clean, but you would
certainly miss all the code navigation and re-factoring things provided by
Netbeans that make your programming exercises tolerable.

Owen.
Post by jhfrench
I was reading that the Netbeans IDE has built-in Subversion support. I've
also seen a reference to using Netbeans and Subversion together. But I've
been a long-time Tortoise user, and I know it can slow down the Windows
shell. Is it redundant to install TortoiseSVN if you are using NetBeans? Is
there anything that TortoiseSVN can do that can't be done through Netbeans?
(for those with StackOverflow.com accounts, I asked this question at
http://stackoverflow.com/questions/14512793/is-there-anything-that-tortoisesvn-can-do-that-cant-be-done-through-netbeans
)
--
Employment-from-home. Make mine part-time. Yes you can.
Do you support or oppose jobs where employers do not prescribe mode,
intensity, or place?
Software developers certainly can be salaried and superannuated part-time
from home. Make it so for this one.
www.owenpaulthomas.blogspot.com
Loading...