topgit: Implement tg-import
PATCH 1/1 topgit: Implement tg-import
From: Aneesh Kumar K.V <[email protected]>
This can be used to import a set of commits between range specified by range1..range2 This should help us to convert an already existing quilt, stgit branches to topgit managed one
Signed-off-by Aneesh Kumar K.V <[email protected]>
--- Makefile | 2 +- README | 7 ++++++ tg-import.sh | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+), 1 deletions(-) create mode 100644 tg-import.sh
Makefile +1 -1
@@ -6,7 +6,7 @@ sharedir = $(PREFIX)/share/topgit hooksdir = $(cmddir)/hooks -commands_in = tg-create.sh tg-delete.sh tg-export.sh tg-info.sh tg-patch.sh tg-summary.sh tg-update.sh +commands_in = tg-create.sh tg-delete.sh tg-export.sh tg-info.sh tg-patch.sh tg-summary.sh tg-update.sh tg-import.sh hooks_in = hooks/pre-commit.sh commands_out = $(patsubst %.sh,%,$(commands_in))
README +7 -0
@@ -330,6 +330,13 @@ tg export TODO: Make stripping of [PATCH] and other prefixes configurable TODO: --mbox option for other mode of operation +tg import +~~~~~~~~ + Import the commits between the given revision range into + a topgit managed branch + + Usage: tg import rev1..rev2 + tg update ~~~~~~~~~ Update the current topic branch wrt. changes in the branches
tg-import.sh new file +68 -0
68 lines not on this page · raw message
Signature · 1 line
1.6.0.rc0.42.g186458.dirty