darcs

Issue 111 I wish for "darcs obliterate --all".

Title I wish for "darcs obliterate --all".
Priority wishlist Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, tommy, zooko
Assigned To
Topics ProbablyEasy

Created on 2006-01-26.03:44:52 by zooko, last changed 2009-08-27.13:49:39 by admin.

Messages
msg419 (view) Author: zooko Date: 2006-01-26.03:44:50
This is for an automated bidirectional svn<->darcs gateway built on top of
Tailor.
msg430 (view) Author: droundy Date: 2006-01-26.14:17:24
On Thu, Jan 26, 2006 at 03:44:52AM +0000, Zooko wrote:
> This is for an automated bidirectional svn<->darcs gateway built on top of
> Tailor.
> 
> title: I wish for "darcs obliterate --all".

Are you serious?! This just seems like the definition of a joke command
that couldn't possibly be useful!  :) I'm sure there's got to be some use,
but I just can't see it.

How would this differ from "rm -rf *; darcs init"?

I guess it'd maintain _darcs/prefs/{defaults,email,motd} and the choice of
pristine cache type, and would leave any uncontrolled files in the working
directory... but I don't see how that combination would be helpful.

(but it certainly would be a humorous command...)
-- 
David Roundy
http://www.darcs.net
msg431 (view) Author: zooko Date: 2006-01-26.17:23:14
> Are you serious?! This just seems like the definition of a joke command
> that couldn't possibly be useful!  :) I'm sure there's got to be some use,
> but I just can't see it.
> 
> How would this differ from "rm -rf *; darcs init"?

Sorry I wasn't clear!  I meant to use it with patch selection arguments.  I
currently have a script for two-way sync between svn and darcs, and at one step
it does this:

yes | darcs oblit --help --patch="\[r[1-9][0-9]*\].*\[from darcs\]$"

It would be nicer (and perhaps a tad safer) if I could write:

darcs oblit --all --help --patch="\[r[1-9][0-9]*\].*\[from darcs\]$"

This is analogous to the way "pull --all --patch=REGEX" means "pull all patches
that match" rather than "pull all patches".

Regards,

Zooko
msg1300 (view) Author: droundy Date: 2006-11-29.16:46:51
I just sent a patch for this in to the list.

David
msg1785 (view) Author: tommy Date: 2007-06-29.19:56:11
fixed in 1.0.9
History
Date User Action Args
2006-01-26 03:44:52zookocreate
2006-01-26 14:14:04droundysetnosy: droundy, tommy, zooko
2006-01-26 14:17:25droundysetstatus: unread -> unknown
nosy: droundy, tommy, zooko
messages: + msg430
2006-01-26 17:23:15zookosetnosy: droundy, tommy, zooko
messages: + msg431
2006-08-06 22:13:05koweysettopic: + ProbablyEasy
nosy: droundy, tommy, zooko
2006-11-29 16:47:04droundysetnosy: + kowey
messages: + msg1300
2007-01-04 23:28:12koweysetstatus: unknown -> resolved-in-unstable
nosy: + beschmi
2007-06-29 19:56:12tommysetstatus: resolved-in-unstable -> resolved
nosy: droundy, tommy, beschmi, kowey, zooko
messages: + msg1785
2009-08-06 17:47:01adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, dagit, mornfall, simon, thorkilnaur, - droundy
2009-08-06 20:42:49adminsetnosy: - beschmi
2009-08-10 21:43:04adminsetnosy: - markstos, darcs-devel, jast, dagit, Serware, mornfall
2009-08-25 17:58:48adminsetnosy: + darcs-devel, - simon
2009-08-27 13:49:39adminsetnosy: tommy, kowey, darcs-devel, zooko, thorkilnaur, dmitry.kurochkin