From 68ef15f21f964d18aa8aa12f4b21ef32077ac2a9 Mon Sep 17 00:00:00 2001 From: swhite Date: Mon, 29 Nov 2004 18:15:00 +0000 Subject: more_commands Some darcs commands for viewing, and a little more detail other commands. darcs-hash:20041129181523-32473-c5bb5cee49c4a90220965623edad5c0128fd2a58.gz --- Carpet/CarpetWeb/work-with-darcs.html | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'Carpet/CarpetWeb/work-with-darcs.html') diff --git a/Carpet/CarpetWeb/work-with-darcs.html b/Carpet/CarpetWeb/work-with-darcs.html index b35ef3b73..822352c01 100644 --- a/Carpet/CarpetWeb/work-with-darcs.html +++ b/Carpet/CarpetWeb/work-with-darcs.html @@ -66,7 +66,9 @@

walks you through all your local changes and asks you whether they should be part of the patch. Please put only related changes into a single patch; it is very easy to create multiple - patches.

+ patches. Can also be applied to a specific file. + To skip the process of verifying each "hunk", use + the -a option.

Each patch needs a one-line description. This description should be somewhat descriptive, because other people will decide @@ -110,6 +112,15 @@ this page that actually needs network access.

+

Viewing changes

+ +

To view the last n patches applied:

+ +
darcs changes --last=n
+ +

To see how two patches a and b differ

+ +
darcs diff --from-patch=a --to-patch=b

Correcting Errors

@@ -121,15 +132,14 @@
darcs unpull
-

undoes the effect of pulling a patch from a remote repository. +

Undoes the effect of pulling a patch from a remote repository. This is useful if you suspect that this patch introduced an error. And

darcs revert
-

undoes changes to your working directory that have not yet - been recorded.

- +

Undoes changes to your working directory that have not yet + been recorded. Can also be applied to a specific file.

Further Information

-- cgit v1.2.3