ice*_*ice 9 windows version-control mercurial
在Windows上使用togise hg,我从本地驱动器上的存储库中取出了一个到usb stick上的存储库.
在拉动期间,我猜在usb连接中有一个小故障,因为它在中途中止.
现在我再也不能拉了.我收到消息:abandoned transaction found - run hg recover
当我运行hg recover时,我收到以下消息:
rolling back interrupted transaction
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial@selenic.com
** Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
** Mercurial Distributed SCM (version 1.6.3)
** Extensions loaded: fixfrozenexts
Traceback (most recent call last):
File "hg", line 36, in <module>
File "mercurial\dispatch.pyo", line 16, in run
File "mercurial\dispatch.pyo", line 34, in dispatch
File "mercurial\dispatch.pyo", line 54, in _runcatch
File "mercurial\dispatch.pyo", line 494, in _dispatch
File "mercurial\dispatch.pyo", line 355, in runcommand
File "mercurial\dispatch.pyo", line 545, in _runcommand
File "mercurial\dispatch.pyo", line 499, in checkargs
File "mercurial\dispatch.pyo", line 492, in <lambda>
File "mercurial\util.pyo", line 420, in check
File "mercurial\commands.pyo", line 2869, in recover
File "mercurial\localrepo.pyo", line 606, in recover
File "mercurial\transaction.pyo", line 173, in rollback
ValueError: too many values to unpack
Run Code Online (Sandbox Code Playgroud)
如果我尝试手动回滚,我收到此消息: no rollback information available
这次我可以很容易地删除我的棒上的整个备份并进行新的拉动因为回购很小而且usb-stick不包含任何其他更改.但是,如果这种情况发生在一个更大的仓库,我无法从头开始重新启动怎么办?我怎样才能恢复回购?
| 归档时间: |
|
| 查看次数: |
15610 次 |
| 最近记录: |