How do I move a directory to a directory that has been deleted?
Daniel Watkins
daniel at daniel-watkins.co.uk
Sat Aug 2 09:38:08 BST 2008
Hi Nick,
On Sat, 02 Aug 2008 10:25:33 +0200
Nicholas Allen <nick.allen at onlinehome.de> wrote:
> In one commit I want to deleted a directory containing files and
> rename another directory to its name. The files in the directory
> should have the history that they had in the old name. Bazaar will
> not let me do this though. For example:
>
> cd /tmp
> /tmp> mkdir test
> /tmp> cd test
> /tmp/test> bzr init
> /tmp/test> mkdir a
> /tmp/test> mkdir b
> /tmp/test> bzr add
> added a
> added b
> /tmp/test> bzr ci -m "Added a and b"
> Committing to: /tmp/test/
> added a
> added b
> Committed revision 1.
Here do:
$ bzr rm a
deleted a
$ bzr mv b a
b => a
Then we get:
$ bzr status
removed:
a/
renamed:
b => a
Dan
--
Daniel Watkins (Odd_Bloke)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080802/a38b9062/attachment.pgp
More information about the bazaar
mailing list