This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 166985 - wan to keep svn settings specific to NetBeans use
Summary: wan to keep svn settings specific to NetBeans use
Status: RESOLVED WONTFIX
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-12 13:19 UTC by Masaki Katakai
Modified: 2009-06-12 14:08 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2009-06-12 13:19:58 UTC
It looks subversion settings under <userdir>/config/svn/config
will be copied from ~/.subversion/config every time at NetBeans startup.

Is there any way to keep settings only for NetBeans?

Sometimes we need to use some settings just for NetBeans use.
For example, on Japanese Mac OS X, as you may know, JDK6 uses
Shift JIS encoding. So users need to set

log-encoding = Shift_JIS

just for NetBeans use. However, user can not add it to ~/.subversion/config
because terminal is using UTF-8 encoding. So users need to add the setting
to <userdir>/config/svn/config after starting NetBeans every time.

Is it possible to change not to copy if <userdir>/config/svn/config exists?
Or any reasonable solution?
Comment 1 Tomas Stupka 2009-06-12 14:08:17 UTC
> Is it possible to change not to copy if <userdir>/config/svn/config exists?
config files in the nbuserid where never meant to be user edited and we rewrite them in various situations - e.g when
the proxy settings in the ide change, ... . I guess, it wouldn't be a simplefix to change the current behavior

> Or any reasonable solution?
well, there is a switch we use for testing. you could give it a try 
netbeans.t9y.svn.user.config.path=/path/to/config/directory

just create a copy from your current svn config dir, edit the files and use the switch to point netbeans to it
please note that is eventually might have some performance impacts as it also causes that some runtime caching will be
skipped.