[UliPad]The improvement of svn support

For now, I'v improved the svn support, and also support svn icon set(I copied from TortoiseSVN), so after you executed some svn command, you can see the icons of files and directories in directory browser changing. Then you can easily see which file is version controlled, and which it not, and which is modifed, and which is added, etc. So it's very familiar with TortoiseSVN in windows platform. But for the folder processing is not like TortoiseSVN, and if there are some changes in one folder, UliPad will not change this folder icon status, but TortoiseSVN will even if the folder itself has not any changes.

And a big change is I moved the svn support as a plugin, its name is svn_plugin, so you should install it first if you want to use svn support in UliPad. Why I moved svn support to a plugin, because I also think maybe someone or me can also implement other version control support like cvs, etc one day. So I don't want they are mass togeter.

So if you want to use svn support now the steps are below:

1. Enable svn_plugin. [Tool]->[Plugins Manager...]->Check the svn_plugin
2. Set the svn client software location.
   * [Preference...]->Select location of SubVersion client
   * Open Directory Browser Window(just Press F2), right click mouse button, in context menu, [SVN Commands]->[Settings]

   You can choice any way of two to config svn client software. (#TODO, maybe this can be eased if I can automatically find svn)
3. Then you can execute any svn commands in context menu of Directory Browser Window to test.

The attatchment is a screencast of my Directory Browser Window with svn support.

And in the previous annoucement email, I left several questions that I haven't fixed yet, but now some have been conquered by me.

> 1. The context menu can't judge if selected directory is a version controlled directory, so the update, commit commands always in there

Fixed. And I just test if the .svn subdirectory is existed. And the menu items will also changed according whether the directory has .svn directory.

> 2. diff result is ugly, I want to make a better GUI windows to show the result
> 3. You can't edit properties

> 4. No special icons displayed in directory browser window

Fixed.

> 5. Can't automatically refresh directory, so you should manually refresh the directory after you execute some svn commands

Fixed. I use callback when the wx.Execute is finished.

> 6. I don't know how to enable proxy available, it seems that it can automatically recognize the proxy settings in IE on windows platform. Maybe in linux you can just set HTTP_PROXY.

I found the config description in svn book, and you can set proxy in register table(windows platform) or svn config file. More details you should read the svn book.

> 7. Maybe support other version control client

There is a long road to walk.

There are not too much questions left. And I'm still working on it, and I want to make it better.
 
1203670.aspx
limodou?i=Br6NP0nX limodou?i=xWAVLxSW limodou?i=sS98NEft
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值