推荐学习书目
› 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 · 6240 views
    This topic created in 5496 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   ·   Privacy   ·   Solana   ·   1143 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 16:55 · PVG 00:55 · LAX 09:55 · JFK 12:55
    ♥ Do have faith in what you're doing.