README: Document gst-worktree, remove checkout-branch-worktree
authorNirbheek Chauhan <nirbheek@centricular.com>
Thu, 16 Apr 2020 13:23:37 +0000 (18:53 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Thu, 16 Apr 2020 13:24:26 +0000 (18:54 +0530)
Closes https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/72

README.md
checkout-branch-worktree [deleted file]

index 8a35a8d..4e09364 100644 (file)
--- a/README.md
+++ b/README.md
@@ -172,20 +172,20 @@ platform for things to work.
 
 ## Checkout another branch using worktrees
 
-If you need to have several versions of GStreamer coexisting (eg. `master` and `1.14`),
-you can use the `checkout-branch-worktree` script provided by `gst-build`. It allows you
+If you need to have several versions of GStreamer coexisting (eg. `master` and `1.16`),
+you can use the `gst-worktree.py` script provided by `gst-build`. It allows you
 to create a new `gst-build` environment with new checkout of all the GStreamer modules as
 [git worktrees](https://git-scm.com/docs/git-worktree).
 
-For example to get a fresh checkout of `gst-1.14` from a `gst-build` in master **already
-built** in a `build` directory you can simply run:
+For example to get a fresh checkout of `gst-1.16` from a `gst-build` repository
+that is checked out at master, you can run:
 
 ```
-./checkout-branch-worktree ../gst-build-1.16 origin/1.14 -C builddir
+./gst-worktree.py add gst-build-1.16 origin/1.16
 ```
 
-This will create a new ``gst-build-1.14`` folder at the same level of ``gst-build`` pointing to the given branch ie *1.14*
-for all the subprojects ( gstreamer, gst-plugins-base etc.)
+This will create a new ``gst-build-1.16`` directory pointing to the given branch `1.16`
+for all the subprojects (gstreamer, gst-plugins-base, etc.)
 
 
 ## Add information about GStreamer development environment in your prompt line
diff --git a/checkout-branch-worktree b/checkout-branch-worktree
deleted file mode 100755 (executable)
index bd060b6..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-cd `dirname $0`
-
-case "$MSYSTEM" in
-    *MINGW*) PYTHON="py -3";;
-    *) PYTHON="python3";;
-esac
-
-$PYTHON gst-worktree.py add "$@"