unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* bzr handholding: moving branches inside a shared repository
@ 2010-01-08  2:35 Glenn Morris
  2010-01-08  3:31 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Glenn Morris @ 2010-01-08  2:35 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: emacs-devel


Hi,

http://www.emacswiki.org/emacs/BzrQuickStartForEmacsDevs

(which I think you wrote?) says:

    "If you are working inside a shared repository like recommended
    above do not move the trunk directory around nor rename it."

But,

http://wiki.bazaar.canonical.com/Tutorials/CentralizedWorkflow#id15

says:

    "Organizing branches

    Branches inside a shared repository are almost as flexible as
    normal branches. That means you can copy them with cp -r, move
    them with mv and delete them with rm. The one restriction is that
    you cannot move them outside the repository."


Which is correct? If I have my branch in a directory called "trunk"
inside a shared repository, can I safely rename it to "trunk-foo"?
If I copy it to "trunk-copy", does this become an independent copy?

Thanks in advance.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bzr handholding: moving branches inside a shared repository
  2010-01-08  2:35 bzr handholding: moving branches inside a shared repository Glenn Morris
@ 2010-01-08  3:31 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2010-01-08  3:31 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Óscar Fuentes, emacs-devel

> Which is correct? If I have my branch in a directory called "trunk"
> inside a shared repository, can I safely rename it to "trunk-foo"?

Yes.

> If I copy it to "trunk-copy", does this become an independent copy?

Yes.

But other branches may refer to "trunk" in their .bzr/branch/branch.conf
file, so subsequent "bzr merge" (or similar) commands may keep trying to
refer to "trunk", at which point you'll have to explicitly use "bzr
merge --remember ../trunk-foo" to update the corresponding data.


        Stefan




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-08  3:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-08  2:35 bzr handholding: moving branches inside a shared repository Glenn Morris
2010-01-08  3:31 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).