<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 7/04/10 2:19 PM, Eric Berry wrote:
<blockquote type="cite"><br>
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
'bzr info' of my branches shows that they are standalone branches, so I<br>
can just remove the branch directory and that's the end of story, right
??<br>
<br>
If it was a shared repo, then things seem to get more complicated.<br>
Google searches reveal plenty of questions on this topic but no<br>
definitive answers.<br>
Is there consistent way to end a branch and remove it for all types of<br>
branches ??<br>
</blockquote>
<div><br>
I don't quite understand. What do you mean by end a branch for all
types of branches? <br>
</div>
</div>
</blockquote>
<br>
I was thinking of standalone versus shared, but maybe I am confused
about branches and repositories ??<br>
<br>
Does it make sense to create a feature branch as a shared branch ??
I'm guessing not.<br>
If it was a shared branch, and everything is merged into the parent
branch, then blowing away the entire shared branch would be fine too,
right ??<br>
<br>
I also noticed that branches can be stacked. I haven't used a stacked
branch so I don't know how they really work, except that they depend on
the availability of the source branch (must be local ?? or can be
remote ??). My guess is blowing away a stacked branch would not affect
the parent branch so it has the same affect as a non-stacked branch.<br>
<br>
So the rule is just delete your local branches when not needed any more
-- must merge to parent branch if the changes are to be kept.<br>
<br>
The only exception seems to be if a feature branch is created in a
shared repo, and commits are made, and then the branch removed. The
result the feature branch is still in the history of the shared repo.<br>
<br>
So is there a 'bzr rmdir' or 'bzr branch --delete' command that would
do the 'right thing' ... if the repository is shared or not ??<br>
<br>
Cheers, Brendan.<br>
<br>
</body>
</html>