How I can move repo's base folder?

Asked by Santosh on 2012-04-06

Hi,

santosh@localhost:~/temp/BZR_REPO$ ls -a
. .. .bzr project1
santosh@localhost:~/temp/BZR_REPO$ cd project1/
santosh@localhost:~/temp/BZR_REPO/project1$ ls -a
. .. test1.txt
santosh@localhost:~/temp/BZR_REPO/project1$

If my repo is as shown above, can I make directory project1 as base directory?

Thanks,
Santosh

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
John A Meinel
Solved:
2012-04-09
Last query:
2012-04-09
Last reply:
2012-04-09
Sudarshan S (email2sudharshan) said : #1

Can you please confirm your intent here? Thanks!

(If you haven't yet committed anything, you can probably move the .bzr folder directly)

(If you've committed, moving the .bzr folder may be a bad idea since you have to tell bzr you moved all the files in the repo)

Santosh (ysan99) said : #2

Actually I have committed a lot, an entire project of around 10k files, that was just sample situation I shown above.

Moving will show as all files deleted and then all files newly added.

Please let me know if I can achieve this without moving?

Thanks.

Best John A Meinel (jameinel) said : #3

How are you moving the files? Using "bzr mv foo bar" will tell bzr it was a
rename, and it will delta compress the content.

John
=:->
On Apr 9, 2012 8:45 AM, "Santosh" <email address hidden>
wrote:

> Question #192816 on Bazaar changed:
> https://answers.launchpad.net/bzr/+question/192816
>
> Status: Needs information => Open
>
> Santosh gave more information on the question:
>
> Actually I have committed a lot, an entire project of around 10k files,
> that was just sample situation I shown above.
>
> Moving will show as all files deleted and then all files newly added.
>
> Please let me know if I can achieve this without moving?
>
> Thanks.
>
> --
> You received this question notification because you are an answer
> contact for Bazaar.
>

Santosh (ysan99) said : #4

Thanks John A Meinel, that solved my question.