mywiki:versiontool:start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mywiki:versiontool:start [2014/11/02 08:08] – shaoguoh | mywiki:versiontool:start [2019/09/15 18:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | mecurial | + | ====== Mecurial ====== |
| | [[http:// | | [[http:// | ||
| - | QUEUE: | + | ===== Remove outgoing changeset ===== |
| + | The method to remove the outgoing changeset, ie, already committed but not pushed yet. | ||
| + | |||
| + | hg **strip** REV | ||
| + | |||
| + | ===== QUEUE ===== | ||
| hg qnew " | hg qnew " | ||
| + | |||
| + | **undo hg qnew:** | ||
| + | * hg strip -k . | ||
| + | * hg qdelete patch-name | ||
| + | The --keep flag makes strip ignore the working copy while working, that is, it deletes the commit (like hg qpop would do) but it doesn' | ||
| hg qpop // 把最上面的的patch移出队列 | hg qpop // 把最上面的的patch移出队列 | ||
| Line 66: | Line 77: | ||
| Otherwise, it will report trick errors, like: access Pre-revision-change fail or non-exist, access write-lock fail and so on. | Otherwise, it will report trick errors, like: access Pre-revision-change fail or non-exist, access write-lock fail and so on. | ||
| + | |||
| + | ===== SVN Server Daemon ===== | ||
| + | |||
| + | svnserve -d -r / | ||
| + | |||
| + | -r: svn repo directory | ||
| + | --config-file: | ||
| + | |||
| + | The directory tree under configuration folder is: | ||
| + | conf | ||
| + | hooks | ||
| + | |||
| + | ====== Git ====== | ||
| + | ^ Reference | [[https:// | ||
| + | |||
mywiki/versiontool/start.1414886909.txt.gz · Last modified: (external edit)
