<div dir="ltr">Hi Matt,<div><br></div><div>For those of us who have pulled a number of bookmarks from your fork, will just doing another pull from your fork remove those bookmarks from my repo?</div><div><br></div><div>Britton</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 13, 2014 at 2:10 PM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
Now that all the main differences and changes and whatnot are merged<br>
in, I've decided to clean up my bookmarks.  In case anybody else wants<br>
to do the same, here's my procedure.<br>
<br>
First, I collected all the names of non-head bookmarks:<br>
<br>
hg log -r "bookmark() and not head()" --template "{bookmarks}\n" > b1<br>
<br>
I also backed up the full log output, just in case:<br>
<br>
hg log -r "bookmark() and not head()" > b1<br>
<br>
I edited this because there were a few I didn't want to delete.  Then,<br>
I deleted the rest:<br>
<br>
for bm in `cat b1`; do hg bookmark --delete ${bm} ; done<br>
for bm in `cat b1`; do hg push -B ${bm} ; done<br>
<br>
Note that there's probably a way to do it in a single pass with<br>
multiple -B arguments, but I didn't.<br>
<br>
-Matt<br>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</blockquote></div><br></div>