Issue2078

Title hg log -b . appears to be a no-op
Priority bug Status resolved
Superseder Nosy List brendan, cyanite, djc, faheem, hgbot, mpm
Assigned To Topics

Created on 2010-03-09.10:15:06 by faheem, last changed 2010-07-23.19:54:34 by mpm.

Messages
msg13195 (view) Author: mpm Date: 2010-07-23.19:54:34
For now. We'll deal with the issue of -b <some rev> separately.
msg12999 (view) Author: faheem Date: 2010-07-04.10:14:08
Should this be marked resolved?
msg12365 (view) Author: hgbot Date: 2010-04-24.23:29:28
Fixed by http://hg.intevation.org/mercurial/crew/rev/ca739acf1a98
(commands: add more robust support for 'hg log -b' (issue2078))
msg12364 (view) Author: hgbot Date: 2010-04-24.23:29:27
Fixed by http://hg.intevation.org/mercurial/crew/rev/ca739acf1a98
(commands: add more robust support for 'hg log -b' (issue2078))
msg12315 (view) Author: brendan Date: 2010-04-20.00:00:52
See http://hg.intevation.org/mercurial/crew/rev/ca739acf1a98
(commands: add more robust support for 'hg log -b' (issue2078))
msg12000 (view) Author: cyanite Date: 2010-03-10.11:43:27
The problem is that hg log -b foo looks for changesets on branch foo, and 
doesn't consider any special names like . or similar. Thus, it doesn't find 
any and doesn't display anything.
msg11986 (view) Author: faheem Date: 2010-03-09.19:26:29
On Tue, 9 Mar 2010, Matt Mackall wrote:

>
> Matt Mackall <mpm@selenic.com> added the comment:
>
> Gives me help here. There's no -b option for branch in any recent version.

Sorry, that was a thinko (or something). I meant to say 'hg log', not 'hg 
branch'

From hg help log (1.5)

-b --only-branch   show only changesets within the given named branch

> Also, what would you expect it to do? Set the branch name of the working dir
> to the branch name of the parent of the working dir?

Sorry, should have been more explicit.

I expect the same as

hg log -b <named branch corresponding to parent of working directory>

Apologies for the screwup.

                                                      Regards, Faheem.
msg11977 (view) Author: mpm Date: 2010-03-09.17:35:53
Gives me help here. There's no -b option for branch in any recent version.

Also, what would you expect it to do? Set the branch name of the working dir
to the branch name of the parent of the working dir?
msg11960 (view) Author: faheem Date: 2010-03-09.10:15:06
(Per discussion with cyanite on IRC.)

hg branch -b .

does not return anything. Not sure if this is a bug or unimplemented
feature, so please reassign as appropriate.
However, -b . (branch corresponding parent of wc) works for other operations.

                                                  Regards, Faheem.
History
Date User Action Args
2010-07-23 19:54:34mpmsetstatus: testing -> resolved
nosy: mpm, brendan, faheem, djc, cyanite, hgbot
messages: + msg13195
2010-07-04 10:14:08faheemsetnosy: mpm, brendan, faheem, djc, cyanite, hgbot
messages: + msg12999
2010-04-24 23:29:28hgbotsetnosy: mpm, brendan, faheem, djc, cyanite, hgbot
messages: + msg12365
2010-04-24 23:29:27hgbotsetstatus: chatting -> testing
nosy: + hgbot
messages: + msg12364
2010-04-20 00:00:52brendansetnosy: + brendan
messages: + msg12315
2010-03-10 11:43:27cyanitesetnosy: mpm, faheem, djc, cyanite
messages: + msg12000
2010-03-09 19:26:40faheemsetnosy: mpm, faheem, djc, cyanite
title: hg branch -b . appears to be a no-op -> hg log -b . appears to be a no-op
2010-03-09 19:26:29faheemsetnosy: mpm, faheem, djc, cyanite
messages: + msg11986
2010-03-09 17:35:53mpmsetstatus: unread -> chatting
nosy: + mpm
messages: + msg11977
2010-03-09 10:25:14djcsetnosy: + djc
2010-03-09 10:15:06faheemcreate