Issue 1501 darcs get/pull --count N

Title darcs get/pull --count N
Priority feature Status duplicate
Milestone Resolved in
Superseder get/pull --max-count
View: 1369
Nosy List darcs-devel, dmitry.kurochkin, jaredj, kowey, thorkilnaur, zooko
Assigned To
Topics Matchers, ProbablyEasy

Created on 2009-07-18.16:41:24 by zooko, last changed 2009-08-27.14:30:04 by admin.

msg7972 (view) Author: zooko Date: 2009-07-18.16:41:22
And, per issue1484 "--count" needs to count from the *beginning* not from the
end, so that "darcs get --count 100 $SOURCE_REPO" will yield the same resulting
repo even after new patches are added to the $SOURCE_REPO.

<warner> does 'darcs get' have a --count option? I'm not seeing one
<warner> huh, neither does 'darcs pull'. I guess I don't know how to create an
	 r1234 tree without first going to Trac, finding the commit, copying
	 the patch description, and then doing 'darcs get --to-patch=DESC'
msg8264 (view) Author: kowey Date: 2009-08-18.19:43:45
Just a UI note: --count is already being used by changes to mean "output the
number of changes".  We could overload it since there's probably little risk of

Otherwise changes uses --index to select some subset of patches (albeit counting

Maybe --first N would be good:
  darcs get --first 3032

Also keep in mind the wider context.  We want it to make it easier for people to
interact with tools like trac-darcs.  Is there a better way?
msg8374 (view) Author: kowey Date: 2009-08-23.09:43:59
Whoops, this is a duplicate of issue1369
Date User Action Args
2009-07-18 16:41:24zookocreate
2009-08-18 19:43:50koweysetstatus: unread -> needs-implementation
nosy: kowey, zooko, simon, thorkilnaur, dmitry.kurochkin
topic: + Matchers
messages: + msg8264
title: add "--count" to "get" and "pull" -> darcs get/pull --first N
2009-08-22 12:31:43koweysetnosy: kowey, zooko, simon, thorkilnaur, dmitry.kurochkin
title: darcs get/pull --first N -> darcs get/pull --count N
2009-08-23 09:44:04koweysetstatus: needs-implementation -> duplicate
nosy: + jaredj
topic: + ProbablyEasy
superseder: + get/pull --max-count
messages: + msg8374
2009-08-25 17:46:17adminsetnosy: + darcs-devel, - simon
2009-08-27 14:30:04adminsetnosy: kowey, darcs-devel, zooko, thorkilnaur, jaredj, dmitry.kurochkin