V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
feilaoda
V2EX  ›  Python

在错误使用hg revert后杯具了,代码木有了。是不是没法找回了?

  •  
  •   feilaoda ·
    feilaoda · Sep 14, 2011 · 5902 views
    This topic created in 5348 days ago, the information mentioned may be changed or developed.
    代码没有hg ci, 估计要白忙活一天了。
    4 replies    1970-01-01 08:00:00 +08:00
    qiaoshun8888
        1
    qiaoshun8888  
       Sep 14, 2011
    是的哦
    gonefish
        2
    gonefish  
       Sep 14, 2011
    应该有备份,如果你没有加--no-backup的话
    feilaoda
        3
    feilaoda  
    OP
       Sep 14, 2011
    @gonefish 没加。如何恢复阿?
    gonefish
        4
    gonefish  
       Sep 14, 2011
    @fellaoda
    .orig 同目录找这个后缀


    Modified files are saved with a .orig suffix before reverting. To disable these backups, use --no-backup.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1186 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 23:14 · PVG 07:14 · LAX 16:14 · JFK 19:14
    ♥ Do have faith in what you're doing.