<div class="gmail_quote">On Thu, Oct 14, 2010 at 2:32 PM, Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com">aashish.chaudhary@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, Oct 14, 2010 at 2:14 PM, pat marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>></span> wrote:<br></div><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Marcus,<br><br>Is the stage something that we can use to share experimental code with others, or should we only push branches that we actually intend to merge in the near future?<br></blockquote></div></div></blockquote>
<div><br></div><div>I have used it to share topic branches before merging, but it is generally intended for topics that you intend to merge at some point. You can remove a topic branch using,</div><div><br></div><div>git push stage :topic-branch-to-remove</div>
<div><br></div><div>If you do not want to merge it/you no longer wish to share it.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>Is there are branch naming convention?  I tend to use lowercase-words-with-dashes.<br></blockquote></div></div></blockquote>
<div><br></div><div>We have asked that they be meaningful, but we are not enforcing any particular naming convention. Perhaps we should adopt a default style, and lower case with dashes seems reasonable. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font color="#888888">
<br></font></blockquote></div><div>I was about to ask the same as well. Also I am assuming that  with this change updating the submodule references need staging too (thats what I have been doing)</div></div></blockquote>
<div><br></div><div>Well...VTK doesn't have any submodules. I assume you are referring to ParaView now? The submodule update commit should ideally be the only thing in that particular commit, and it should point to a VTK master (or other submodule) that has been merged. This should be staged along with the rest of the topic branch.</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div><br></div><div>One thought that in future we might end with 1000 or more branches, do we have a policy for clean up or thats work in progress?</div>
</div></blockquote><div><br></div><div>When you merge a topic into all integration branches (currently just master) then the topic is automatically deleted from the stage. If you do a,</div><div><br></div><div>git fetch stage --prune</div>
<div><br></div><div>Your local references to those topics will also be deleted.</div><div><br></div><div>Thanks,</div><div><br></div><div>Marcus</div></div>