【发布时间】:2013-06-17 03:48:36
【问题描述】:
今天我尝试将更改推送到我们托管在运行 webdav(通过 HTTPS)的 apache(2.2.x) 上的共享存储库中。 dav 目录中的存储库是我的工作目录的克隆。选项 NoUpdate 已启用。两个存储库都已启动。
继续我将 dav-directory/repositoy 映射为网络驱动器并将存储库设置为推送到“y:/” 当我尝试从 Workbench 推送时,抛出异常“aborted, ret 255”。
% hg --repository C:\wamp\www\ommon push y:
pushing to y:
searching for changes
abort: Y:\.hg/store/journal: The system cannot find the file specified
[command returned code 255 Thu Jun 20 12:08:28 2013]
从命令行推送抛出:
pushing to y:\
searching for changes
abort: y:\.hg/store/journal: The system cannot find the file specified
Exception AttributeError: "'transaction' object has no attribute 'file'" in
<bound method transaction.__del__ of <mercurial.transaction.transaction object>>
我试图更改目录的路径,因为侧交换的分隔线对我来说看起来很奇怪。但它没有成功。
更多信息:我没有使用 hgweb 或任何基于 cgi 脚本的版本。
编辑 多个 google 条目与该问题有关,这让我想到将更改推送到 webDAV 提供的存储库是不可能的。此外,我必须使用 hgWeb 来解决这个问题。
但为什么我必须这样做?我的想法是 webDAV 能够写作。由于我将目录映射为网络驱动器 - mercurial 应该能够将更改推送到网络服务器,就像它推送到本地目录一样。
有人可以确认吗?
【问题讨论】:
标签: mercurial webdav tortoisehg apache2.2 hgsubversion