~jan0sch/darcs-book
Showing details for patch 13ff7381ee732115226298f96689228972d919bc.
diff -rN -u old-darcs-book/en/index.md new-darcs-book/en/index.md --- old-darcs-book/en/index.md 1970-01-01 00:00:00.000000000 +0000 +++ new-darcs-book/en/index.md 2024-11-23 15:07:54.154842296 +0000 @@ -0,0 +1,71 @@ +--- +title: Darcs, friendly version control +--- + +Darcs, friendly version control. +================================ + +About this book +--------------- + +This book should help you to get started with using `darcs` as your daily +version control system. Every chapter deals with a specific topic and explains +everything by using simple examples. + +Table of Contents +----------------- + +<div class="toc"> +* [Introduction](chapter01.html) + * [Welcome!](chapter01.html#welcome) + * [What’s version control?](chapter01.html#whats-version-control) + * [What’s a DVCS?](chapter01.html#whats-a-dvcs) + * [Why `darcs`?](chapter01.html#why-darcs) +* [Getting started](chapter02.html) + * [Terminology](chapter02.html#terminology) + * [Installing `darcs`](chapter02.html#installing-darcs) + * [Using the `darcs` command line interface](chapter02.html#using-the-darcs-command-line-interface) +* [Workind locally](chapter03.html) + * [Creating our first repository](chapter03.html#creating-our-first-repository) + * [Ch-Ch-Ch Changes!](chapter03.html#ch-ch-ch-changes) + * [Inspecting recorded patches](chapter03.html#inspecting-recorded-patches) + * [Recursively adding files](chapter03.html#recursively-adding-files) + * [Removing a file](chapter03.html#removing-a-file) + * [I like to `move` it!](chapter03.html#i-like-to-move-it) + * [What’s new pussy cat?](chapter03.html#whats-new-pussy-cat) + * [Seek and replace](chapter03.html#seek-and-replace) + * [Booooooooooring!!!](chapter03.html#booooooooooring) + * [Different types of changes](chapter03.html#different-types-of-changes) + * [Revisiting history](chapter03.html#revisiting-history) +* [Happy little accidents](chapter04.html) + * [Reverting changes](chapter04.html#reverting-changes) + * [Unrevert](chapter04.html#unrevert) + * [Roll-over! Roll-over! Roll-back! `rollback`!](chapter04.html#roll-over-roll-over-roll-back-rollback) +* [A little help from my friends](chapter05.html) + * [Cloning](chapter05.html#cloning) + * [Using `clone` locally.](chapter05.html#using-clone-locally.) + * [Pu-Push it real good!](chapter05.html#pu-push-it-real-good) + * [Pulling](chapter05.html#pulling) + * [Weak Hashes](chapter05.html#weak-hashes) + * [Traveling without moving](chapter05.html#traveling-without-moving) + * [Annotate](chapter05.html#annotate) +* [Conflict Management](chapter06.html) + * [A working example](chapter06.html#a-working-example) + * [Conflict Markers](chapter06.html#conflict-markers) + * [Solving the issue at hand](chapter06.html#solving-the-issue-at-hand) + * [Never skip a beat, `--skip-conflicts`!](chapter06.html#never-skip-a-beat---skip-conflicts) + * [Avoiding conflicts with `replace`](chapter06.html#avoiding-conflicts-with-replace) +* [Dependencies and good patches](chapter07.html) + * [Dependencies in `darcs`](chapter07.html#dependencies-in-darcs) + * [A thought on patches](chapter07.html#a-thought-on-patches) + * [Spontaneous branches](chapter07.html#spontaneous-branches) +* [Rewriting history](chapter08.html) + * [Amending patches](chapter08.html#amending-patches) + * [Unrecording patches](chapter08.html#unrecording-patches) + * [Unrecording individual changes](chapter08.html#unrecording-individual-changes) + * [OB-LIT-E-RATE!](chapter08.html#ob-lit-e-rate) +* [tag! You're it!](chapter09.html) + * [Pulling tags](chapter09.html#pulling-tags) + * [A tale of dirty tags](chapter09.html#a-tale-of-dirty-tags) + * [Cloning tags](chapter09.html#cloning-tags) +</div> diff -rN -u old-darcs-book/Makefile new-darcs-book/Makefile --- old-darcs-book/Makefile 2024-11-23 15:07:54.154842296 +0000 +++ new-darcs-book/Makefile 2024-11-23 15:07:54.154842296 +0000 @@ -1,7 +1,29 @@ -PANDOC=pandoc -s --css ../html/book.css --template html/template.html -f markdown -t html --toc +PANDOC=pandoc -s --css css/book.css --template html/template.html -f markdown -t html --toc + +OBJS= dist/css/book.css \ + dist/index.html \ + dist/chapter01.html \ + dist/chapter02.html \ + dist/chapter03.html \ + dist/chapter04.html \ + dist/chapter05.html \ + dist/chapter06.html \ + dist/chapter07.html \ + dist/chapter08.html \ + dist/chapter09.html + +all: ${OBJS} dist: mkdir dist + mkdir dist/css + cp -R img dist/img + +dist/css/book.css: dist + cp html/book.css dist/css/book.css + +dist/index.html: dist + pandoc -s --css css/book.css --template html/template.html -f markdown -t html en/index.md -o dist/index.html dist/chapter01.html: dist ${PANDOC} en/01-introduction.md -o dist/chapter01.html @@ -30,6 +52,5 @@ dist/chapter09.html: dist ${PANDOC} en/09-tag-youre-it.md -o dist/chapter09.html -all: dist/chapter01.html dist/chapter02.html dist/chapter03.html dist/chapter04.html dist/chapter05.html dist/chapter06.html dist/chapter07.html dist/chapter08.html dist/chapter09.html clean: rm -r dist