Whisht Wind


« 十一月 2009
星期日星期一星期二星期三星期四星期五星期六
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
今天

Subscribe

Add to My YahooSubscribe in RojoSubscribe in NewsGator OnlineThis blog's XML feed
Subscribe with BloglinesAdd to Google

Search this blog

Blog Roll

Downloads

Other Links

Popular Tags

addons android archive autoloading autopager china chinese cisco dhcp dict earthquake firefox flock fonts foxbeans hgweb j2me java javame jstardict jstardictm language mercurial milax moon mozilla mtu nb-xul netbeans openoffice opensolaris pack palette recommended solaris stardict tar.gz tar.gz2 vpn vpnclient windows wine xul zip 嫦娥 郑萍如 面板

Weblog menu

Feeds

Recent Entries

Today's referrers

今日点击: 1997

Locations of visitors to this page

20080316 星期日 2008年03月16日

A patch to allow archive and download folder in mercurial repository with hgweb

Mercurial provides hgweb cgi scripts to allow you manage mercurial repositories using http server. And it allow download the archive of the repository as zip,tar.gz or tar.bz2. But it not allow you to download a whole sub folder as some other version control system web fronts. I create one patch to add this function. You can find it here.

Use  http://www.teesoft.info/hg/samples/file/tip/netbeans/PaletteDemo1/  as an example. Follow this to set a mercurial repository over http. It's use sourceforge as an examples, but you can also use the similar to other isp if they provide python support.  You can also find the patch I created mercurial 0.9.4.

This is my first try on python. Let me know if you find some error/bug.

Thanks


[Read More]

My Tags:

( 2008年03月16日, 11:09:04 下午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

为mercurial web cgi做了个打包下载文件夹的补丁

Mercurial提供了通过http方式维护代码仓库的cgi脚本,它支持打包下载整个仓库,却不支持打包下载子目录。所以我做了一个补丁来做这件事。你可以在这里下载它。http://www.teesoft.info/hg/samples/file/tip/netbeans/PaletteDemo1/是一个部署之后的例子。你可以打包下载任何目录。

请参考 这个 在你的服务器上配置 mercurial,唯一的条件是你的服务器支持python。别忘了打我的补丁。

另外,我还做了用于mercurial 0.9.4的补丁

 

这是我第一次做python的东西。如果你发现其中有什么不妥请告诉我。

谢谢

Technorati Tags: , , , , ,

 

[Read More]

My Tags:

( 2008年03月16日, 10:55:03 下午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists