bzr unshelve should support --list

Bug #330254 reported by Wesley J. Landaker
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

bzr unshelve --list should work just like bzr shelve --list.

It's confusing to a user when there is no way to get a list of things to unshelve from the unshelve command.

Instead, only the *shelve* command supports --list. This is backwards, because unshelve is the only command that can do anything with a shelf id. When you are shelving, you do not specify or use shelf ids.

John A Meinel (jameinel)
Changed in bzr:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Tim Powell (theuiguy) wrote :

I was going to suggest a "bzr shelved" command that would show the list of shelved changes when I saw this bug. I agree that unshelve should have a list option.

As far as I know, the command is "bzr shelf list" not "bzr shelve --list".

I find the bzr shelf command with its subcommands quite confusing, especially in my typical usage where I'm shelving some changes, committing, and then unshelving my changes to continue work. Since you can't provide a shelf id or name when you're shelving, it confuses me that the shelf name 'default' is exposed.

Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 330254] Re: bzr unshelve should support --list

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim Powell wrote:
> As far as I know, the command is "bzr shelf list" not "bzr shelve
> --list".

shelve --list is the bzr command, which is a new shelf implementation.
shelf list is the old bzrtools command, and has been renamed to "shelf1
list".

> I find the bzr shelf command with its subcommands quite confusing,

It's gone in modern versions of bzr and bzrtools.

> especially in my typical usage where I'm shelving some changes,
> committing, and then unshelving my changes to continue work. Since you
> can't provide a shelf id or name when you're shelving, it confuses me
> that the shelf name 'default' is exposed.

The bzr unshelve implementation does allow a shelf id to be specified.
It does not support multiple shelves.

The bzrtools implementation allows you to specify the changes to be
unshelved. To switch between shelves, you use "bzr shelf1 switch".

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpovhAACgkQ0F+nu1YWqI2DDQCfZXC+gqf9WTo8DqFTA60wDNyZ
KHcAnRObperkzlUd9rHP/iccX3TgTQUA
=SBhT
-----END PGP SIGNATURE-----

Revision history for this message
Tim Powell (theuiguy) wrote :

Aaron Bentley wrote:
> Tim Powell wrote:
>> I find the bzr shelf command with its subcommands quite confusing,

> It's gone in modern versions of bzr and bzrtools.

Hmm... I had installed bzr 1.17, but I apparently had an older version of bzrtools installed (are they usually packaged together?) I thought it was a ppa problem that was causing a version conflict message. Once I removed bztools, shelf worked as described. I apologize for the confusion.

> The bzr unshelve implementation does allow a shelf id to be specified.
> It does not support multiple shelves.

I'm missing something here. Does a shelf id not refer to a shelve? Since it supports specifying a shelf id, it seems like it supports multiple shelves.

Are you saying that there's an unshelve command in both bzr and bzrtools?

Martin Pool (mbp)
Changed in bzr:
status: Triaged → Confirmed
Revision history for this message
Dimitrios Apostolou (jimis) wrote :

Have tried unshelve --list instictively several times so I'm voting for this option. I'm also instictively abbreviating --list to -l so that would be nice too.

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.