Code Monkey home page Code Monkey logo

auto_patch's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

auto_patch's Issues

gen_manifest.sh 获取变更清单不正确

(mandela)liuzhizhi@lzz-rmbp|mandela # svn info
Path: .
Working Copy Root Path: /Users/liuzhizhi/erya/pub
URL: svn://xxxx.com/repos/pub/mandela
Relative URL: ^/pub/mandela
Repository Root: svn://xxxx.com/repos
Repository UUID: 854fb0eb-2148-4301-8697-78c9fe2e4a7c
Revision: 5317
Node Kind: directory
Schedule: normal
Last Changed Author: lzz
Last Changed Rev: 5317
Last Changed Date: 2016-07-27 17:03:49 +0800 (三, 27  7 2016)

(mandela)liuzhizhi@lzz-rmbp|mandela # pwd
/Users/liuzhizhi/erya/pub/mandela

(mandela)liuzhizhi@lzz-rmbp|mandela # bash gen_manifest.sh 5315:5317
#revision:A/D/C:src_file[:dest_dir]
r5315:A:/pub/mandela/scheduling/modules/dbconn.py
r5315:A:/pub/mandela/scheduling/modules/task_checkcron.py
r5315:A:/pub/mandela/scheduling/modules/task_cron.py
r5315:A:/pub/mandela/scheduling/modules/task_test.py
r5315:A:/pub/mandela/util/croniter.py
r5316:A:/pub/mandela/maccount/tests.py
r5316:A:/pub/mandela/msd/tests.py
r5317:A:/pub/mandela/msd/controler.py
r5317:A:/pub/mandela/msd/models.py

每个路径之前都多了 /pub/mandela/

这样修改 gen_manifest.sh 25行

curr_url=`svn info |awk '/^URL:/{print $NF}'`

因为之前的写法会匹配 2行

URL: svn://xxxx.com/repos/pub/mandela
Relative URL: ^/pub/mandela

应该是需要取上面一行。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.