svn Bogus date

真提交呢, 发生了 "Bogus date" 错误, 这是第二次了.

有点明白起因了. 这回直接去服务器去看, 时间变成了1900年.

这个服务器的电池没电了, 就装了一个闹钟软件, 是自启动的.

梦畅闹钟有BUG, 有时手工连续校时几次, 就会将计算机时间变成1900年.


找到资料说, 要重新svn删除出问题的文件夹(在发生Bogus date错误时,点击详细可以看到).

然后然后重新svn add , commit新的目录. 果真好使.

在svn delete 之前, 先将出问题的目录和要更新的文件最新版保存到别的安全目录, 等svn re add 时, 用保存的最新版.


找到的资料.

http://stackoverflow.com/questions/4153954/how-can-i-fix-a-bogus-date-error-in-tortoisesvn

I ran into the same problem and cleanup didn't work either. Here's what I did to resolve it

  • Checkout to new folder
  • Export all items from corrupt folder
  • Copy over clean checkout

Checkout To Clean Folder

Use TortoiseSVN's standard checkout commands to checkout to a different folder.

Export all items from corrupt folder

From Explorer, Right-click on the corrupt folder and drag to the desktop. Select "Export all items here". This basically copies the entire folder except for the .svn meta folders.

Copy over clean checkout

Copy the exported items over the newly checked out version. This restores any changes you might have made and puts you in a place to check them in.




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值