Created on 2005-10-28.09:28:26 by tksoh, last changed 2010-10-09.21:48:22 by mpm.
| msg13925 (view) |
Author: mpm |
Date: 2010-10-09.21:48:22 |
|
By historical consensus, hg --config extensions.mq strip is sufficient.
|
| msg2237 (view) |
Author: tksoh |
Date: 2006-10-16.18:58:42 |
|
> debugtruncate in core.
+1 from me too.
|
| msg2231 (view) |
Author: ThomasAH |
Date: 2006-10-16.17:14:30 |
|
<mpm> I would be less troubled by having, say, debugtruncate in core.
For many use-cases (especially the cases I had) this is enough, so +1 from me
|
| msg2212 (view) |
Author: mpm |
Date: 2006-10-13.17:53:26 |
|
Strip is still problematic for the core.
The append-only property of Mercurial files is a safety net against future
software bugs or hardware failure corrupting historic data, something that
becomes increasingly likely on timescales of decades.
Mq breaks this rule rather dramatically. That's fine for short-lived branches on
laptops where the damage is well-contained but not for central archives.
Therefore the strip command should be explicitly part of the mq functionality
(possibly with a 'q' prefix).
|
| msg2208 (view) |
Author: ThomasAH |
Date: 2006-10-13.16:54:29 |
|
not really renaming, it should still be accessible as strip.
But currently the only way to hide a command from help is to name it debugfoo,
so the command table entry would be "debugstrip|strip".
|
| msg2207 (view) |
Author: brendan |
Date: 2006-10-13.16:09:03 |
|
I'm not generally in favour of educating users by deliberately making certain
operations more difficult, but I guess there's no harm in just making the command
harder to find. Still, I think it's got more general utility than your typical
debug command, and am mildly against renaming it to debugstrip. But I do think it
belongs in core.
|
| msg2205 (view) |
Author: ThomasAH |
Date: 2006-10-13.15:38:25 |
|
the problem is not the destructiveness of 'hg strip' (we save a backup bundle
now), but the workflow implications. Getting used to immutable history is an
important thing when working with Mercurial, know the rules before breaking
them, and such.
|
| msg2189 (view) |
Author: tksoh |
Date: 2006-10-13.14:14:50 |
|
the revert command is equally descructive (though the recently added --all help
ease my mine a little), so trying to hide 'strip' doesn't make a lot of sense.
+1 to debugstrip.
|
| msg2175 (view) |
Author: ThomasAH |
Date: 2006-10-13.11:22:56 |
|
Added asak (alexis) to the nosy, too.
|
| msg2174 (view) |
Author: ThomasAH |
Date: 2006-10-13.11:22:02 |
|
Reopening myself after thinking about this a little bit more.
Strip is in the mq extension for historic reasons, I think we can ignore this
when talking about usability.
If strip would be in hg core, one danger would be that a user will learn this
command too early, but this safety net is already disabled by distributions or
admins enabling mq by default.
If strip would be in hg core, but be named debugstrip (with strip as alias) it
will be hidden, so the newbie user will not be confused by it or adapt his
working style to having this command available.
If we get a better help system in the future, strip could be listed in the
advanced commands section or sth. like that.
Are there other reasons for not having strip in hg core?
|
| msg2170 (view) |
Author: ThomasAH |
Date: 2006-10-13.10:42:06 |
|
Enabling the mq extension is easy and will provide the strip command.
The annoying help output is a different problem addressed in issue197
Please reopen a separate issue if you think mq should add less help entries by
default, as we already have 'hg help mq'.
|
| msg630 (view) |
Author: tksoh |
Date: 2006-03-06.02:19:12 |
|
Clone -r doesn't support hardlinks. I don't use mq, but just want the strip
commmand. The extension adds the [long list of] mq commands to the default
command list, which I find rather annoying (IMO, no extension commands should
invite themself to the default list)
|
| msg608 (view) |
Author: bos |
Date: 2006-03-04.04:09:31 |
|
On Fri, 2006-03-03 at 17:10 -0800, TK Soh wrote:
> Why is the status set to 'resolved'? mq is added to mainline only as an extention. The original
> suggestion was to make strip a standard command.
We already have clone -r and pull -r for that. If you need actual
strip, just put mq in your extensions line.
<b
|
| msg607 (view) |
Author: tksoh |
Date: 2006-03-04.01:07:55 |
|
--- Bryan O'Sullivan <mercurial-bugs@selenic.com> wrote:
>
> Bryan O'Sullivan <bos@serpentine.com> added the comment:
>
> mq is in mainline now.
>
> ----------
> status: chatting -> resolved
Why is the status set to 'resolved'? mq is added to mainline only as an extention. The original
suggestion was to make strip a standard command.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
| msg596 (view) |
Author: bos |
Date: 2006-03-03.20:09:14 |
|
mq is in mainline now.
|
| msg344 (view) |
Author: vadim |
Date: 2006-01-02.23:58:12 |
|
+1
|
| msg88 (view) |
Author: tksoh |
Date: 2005-10-28.09:28:26 |
|
Move mq's strip command to Mercurial.
|
|
| Date |
User |
Action |
Args |
| 2010-10-09 21:48:22 | mpm | set | status: chatting -> resolved nosy:
mpm, ThomasAH, mason, tksoh, brendan, alexis, djc messages:
+ msg13925 |
| 2008-02-12 09:24:09 | djc | set | topic:
+ ui nosy:
+ djc |
| 2006-11-02 16:13:28 | ThomasAH | set | status: need-eg -> chatting nosy:
mpm, ThomasAH, mason, tksoh, brendan, alexis title: add strip command -> add debugtruncate command |
| 2006-10-16 18:58:44 | tksoh | set | nosy:
mpm, ThomasAH, mason, tksoh, brendan, alexis messages:
+ msg2237 |
| 2006-10-16 17:16:09 | ThomasAH | set | nosy:
mpm, ThomasAH, mason, tksoh, brendan, alexis assignedto: ThomasAH -> |
| 2006-10-16 17:14:31 | ThomasAH | set | nosy:
mpm, ThomasAH, mason, tksoh, brendan, alexis messages:
+ msg2231 |
| 2006-10-13 17:53:27 | mpm | set | nosy:
mpm, ThomasAH, mason, tksoh, brendan, alexis messages:
+ msg2212 |
| 2006-10-13 16:54:29 | ThomasAH | set | nosy:
mpm, ThomasAH, mason, tksoh, brendan, alexis messages:
+ msg2208 assignedto: mason -> ThomasAH |
| 2006-10-13 16:09:04 | brendan | set | nosy:
mpm, ThomasAH, mason, tksoh, brendan, alexis messages:
+ msg2207 |
| 2006-10-13 15:38:25 | ThomasAH | set | nosy:
mpm, ThomasAH, mason, tksoh, brendan, alexis messages:
+ msg2205 |
| 2006-10-13 14:14:50 | tksoh | set | nosy:
mpm, ThomasAH, mason, tksoh, brendan, alexis messages:
+ msg2189 |
| 2006-10-13 11:22:56 | ThomasAH | set | status: chatting -> need-eg nosy:
+ alexis messages:
+ msg2175 |
| 2006-10-13 11:22:03 | ThomasAH | set | status: resolved -> chatting nosy:
+ mpm, brendan superseder:
- make default output of "hg help" useful messages:
+ msg2174 |
| 2006-10-13 10:42:06 | ThomasAH | set | status: chatting -> resolved nosy:
+ ThomasAH superseder:
+ make default output of "hg help" useful messages:
+ msg2170 |
| 2006-03-06 02:19:19 | tksoh | set | messages:
+ msg630 |
| 2006-03-04 04:09:36 | bos | set | messages:
+ msg608 |
| 2006-03-04 01:07:59 | tksoh | set | status: resolved -> chatting messages:
+ msg607 |
| 2006-03-03 20:09:16 | bos | set | status: chatting -> resolved messages:
+ msg596 |
| 2006-01-29 09:09:29 | mpm | set | assignedto: mason nosy:
+ mason |
| 2006-01-02 23:58:12 | vadim | set | status: unread -> chatting messages:
+ msg344 |
| 2005-10-28 09:28:26 | tksoh | create | |
|