how to create a working tree? add "create-tree" alias to "checkout"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned | ||
Breezy |
Triaged
|
Low
|
Unassigned |
Bug Description
I was searching for a way to create a working tree on a branch without one.
bzr help commands lists remove-tree and clean-tree
I hoped to find "create-tree"... and finally "bzr checkout ." does what I want:-)
11:27 < metze> how can I create a working tree when I already have the .bzr directory with a branch
11:28 < metze> I only notice a remove-tree, why isn't there a create-tree?
11:29 < Kinnison> bzr checkout .
11:30 < tigger^> maybe an uncheckout alias makes sense :)
11:30 < tigger^> although kinda confusing what that might mean
11:31 < lifeless> inverse(checkout) == checkin
11:31 < lifeless> inverse(checkout) == uncheckout
11:31 < lifeless> hmm
11:31 < lifeless> so uncheckin ?
11:32 < tigger^> eww
11:33 < Kinnison> Adding a 'create-tree' alias to checkout wouldn't be too hard
11:33 < tigger^> I think create-tree sounds nice
11:33 < tigger^> I assume remove-tree is "uncheckout" ?
11:35 < metze> Kinnison: thx, that's what I was searching for
11:36 < Kinnison> metze: I wrote remove-tree after I had done a "checkout ." in a repo by mistake :_)
11:36 < metze> an create-tree alias would be nice and maybe help other people in future
11:36 < metze> :-)
11:37 < Kinnison> Please file a bug against the bzr product in launchpad
11:37 < Kinnison> So that it doesn't get forgotten
Related branches
- bzr-core: Pending requested
-
Diff: 130 lines (+93/-0)4 files modifiedbzrlib/builtins.py (+18/-0)
bzrlib/tests/blackbox/__init__.py (+1/-0)
bzrlib/tests/blackbox/test_create_tree.py (+71/-0)
doc/en/release-notes/bzr-2.5.txt (+3/-0)
Changed in bzr: | |
importance: | Undecided → Low |
status: | Unconfirmed → Confirmed |
Changed in bzr: | |
assignee: | nobody → daniel-thewatkins |
status: | Confirmed → In Progress |
Changed in bzr: | |
assignee: | Daniel Watkins (daniel-thewatkins) → Jelmer Vernooij (jelmer) |
Changed in bzr: | |
assignee: | Jelmer Vernooij (jelmer) → nobody |
status: | In Progress → Confirmed |
tags: | added: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | removed: check-for-breezy |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stefan Metzmacher wrote:
> Public bug reported:
>
> I was searching for a way to create a working tree on a branch without
> one.
Bzr checkout does some other things that are very different, so I don't
think it makes sense to allow "create-tree" to be used for the full
range of "bzr checkout" functionality.
Maybe the create-tree stuff should be split out of bzr checkout.
Aaron enigmail. mozdev. org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iD8DBQFGHM/ 30F+nu1YWqI0RAg +HAJ9HNuoXK82uQ WYuTDZ7u+ IPorSjhQCdE+ lf x7xZVuEY=
XRVm+KFIq8dfXBJ
=PcNV
-----END PGP SIGNATURE-----