Hi all, Now that all the main differences and changes and whatnot are merged in, I've decided to clean up my bookmarks. In case anybody else wants to do the same, here's my procedure. First, I collected all the names of non-head bookmarks: hg log -r "bookmark() and not head()" --template "{bookmarks}\n" > b1 I also backed up the full log output, just in case: hg log -r "bookmark() and not head()" > b1 I edited this because there were a few I didn't want to delete. Then, I deleted the rest: for bm in `cat b1`; do hg bookmark --delete ${bm} ; done for bm in `cat b1`; do hg push -B ${bm} ; done Note that there's probably a way to do it in a single pass with multiple -B arguments, but I didn't. -Matt
Hi Matt,
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?
Britton
On Thu, Mar 13, 2014 at 2:10 PM, Matthew Turk
Hi all,
Now that all the main differences and changes and whatnot are merged in, I've decided to clean up my bookmarks. In case anybody else wants to do the same, here's my procedure.
First, I collected all the names of non-head bookmarks:
hg log -r "bookmark() and not head()" --template "{bookmarks}\n" > b1
I also backed up the full log output, just in case:
hg log -r "bookmark() and not head()" > b1
I edited this because there were a few I didn't want to delete. Then, I deleted the rest:
for bm in `cat b1`; do hg bookmark --delete ${bm} ; done for bm in `cat b1`; do hg push -B ${bm} ; done
Note that there's probably a way to do it in a single pass with multiple -B arguments, but I didn't.
-Matt _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
On Thu, Mar 13, 2014 at 10:15 AM, Britton Smith
Hi Matt,
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?
Unfortunately not. Here is the list of bookmarks I deleted: http://paste.yt-project.org/show/4375/ -Matt PS This was noted as one of the pain points in the bookmark process at the hg sprint I attended last November. There was general annoyance with the asymmetry of pull/push when it came to bookmarks.
Britton
On Thu, Mar 13, 2014 at 2:10 PM, Matthew Turk
wrote: Hi all,
Now that all the main differences and changes and whatnot are merged in, I've decided to clean up my bookmarks. In case anybody else wants to do the same, here's my procedure.
First, I collected all the names of non-head bookmarks:
hg log -r "bookmark() and not head()" --template "{bookmarks}\n" > b1
I also backed up the full log output, just in case:
hg log -r "bookmark() and not head()" > b1
I edited this because there were a few I didn't want to delete. Then, I deleted the rest:
for bm in `cat b1`; do hg bookmark --delete ${bm} ; done for bm in `cat b1`; do hg push -B ${bm} ; done
Note that there's probably a way to do it in a single pass with multiple -B arguments, but I didn't.
-Matt _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
Ah, yes, ok I thought not. Thanks for that!
On Thu, Mar 13, 2014 at 2:18 PM, Matthew Turk
On Thu, Mar 13, 2014 at 10:15 AM, Britton Smith
wrote: Hi Matt,
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?
Unfortunately not. Here is the list of bookmarks I deleted:
http://paste.yt-project.org/show/4375/
-Matt
PS This was noted as one of the pain points in the bookmark process at the hg sprint I attended last November. There was general annoyance with the asymmetry of pull/push when it came to bookmarks.
Britton
On Thu, Mar 13, 2014 at 2:10 PM, Matthew Turk
wrote: Hi all,
Now that all the main differences and changes and whatnot are merged in, I've decided to clean up my bookmarks. In case anybody else wants to do the same, here's my procedure.
First, I collected all the names of non-head bookmarks:
hg log -r "bookmark() and not head()" --template "{bookmarks}\n" > b1
I also backed up the full log output, just in case:
hg log -r "bookmark() and not head()" > b1
I edited this because there were a few I didn't want to delete. Then, I deleted the rest:
for bm in `cat b1`; do hg bookmark --delete ${bm} ; done for bm in `cat b1`; do hg push -B ${bm} ; done
Note that there's probably a way to do it in a single pass with multiple -B arguments, but I didn't.
-Matt _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
participants (2)
-
Britton Smith
-
Matthew Turk