chiark / gitweb /
topgit.git
15 years agoMakefile: Changing Makefile means executables need to be regenerated too
Petr Baudis [Fri, 12 Sep 2008 11:11:48 +0000 (13:11 +0200)]
Makefile: Changing Makefile means executables need to be regenerated too

15 years ago.gitignore: Add tg-import, tg-remote
Petr Baudis [Wed, 10 Sep 2008 15:32:09 +0000 (17:32 +0200)]
.gitignore: Add tg-import, tg-remote

Noticed by Bert Wesarg.

15 years agotg.sh: Typo fix (incanation -> incantation)
Petr Baudis [Wed, 10 Sep 2008 15:30:35 +0000 (17:30 +0200)]
tg.sh: Typo fix (incanation -> incantation)

15 years agoTopGit-0.3
Petr Baudis [Tue, 9 Sep 2008 22:48:56 +0000 (00:48 +0200)]
TopGit-0.3

15 years agoREADME: Remove stale TODO
Petr Baudis [Tue, 9 Sep 2008 22:48:24 +0000 (00:48 +0200)]
README: Remove stale TODO

15 years agoMerge branch 'tg-import'
Petr Baudis [Tue, 9 Sep 2008 22:47:15 +0000 (00:47 +0200)]
Merge branch 'tg-import'

15 years agotg import: Make the progress reporting stand out more
Petr Baudis [Tue, 9 Sep 2008 22:37:41 +0000 (00:37 +0200)]
tg import: Make the progress reporting stand out more

15 years agobranch_contains(): More explicit call to git rev-list
Petr Baudis [Tue, 9 Sep 2008 22:35:48 +0000 (00:35 +0200)]
branch_contains(): More explicit call to git rev-list

15 years agotg import: Fix up process_commit() progress reporting
Petr Baudis [Tue, 9 Sep 2008 22:32:44 +0000 (00:32 +0200)]
tg import: Fix up process_commit() progress reporting

15 years agotg import -p PREFIX: Custom prefix instead of t/
Petr Baudis [Tue, 9 Sep 2008 22:31:17 +0000 (00:31 +0200)]
tg import -p PREFIX: Custom prefix instead of t/

15 years agotg create -r BRANCH: Create branch based on a remote one
Petr Baudis [Tue, 9 Sep 2008 22:29:24 +0000 (00:29 +0200)]
tg create -r BRANCH: Create branch based on a remote one

15 years agoREADME: Add synopsis for working with remotes
Petr Baudis [Tue, 9 Sep 2008 22:11:47 +0000 (00:11 +0200)]
README: Add synopsis for working with remotes

15 years agotg import: Change default prefix from tp/ to t/
Petr Baudis [Tue, 9 Sep 2008 22:06:44 +0000 (00:06 +0200)]
tg import: Change default prefix from tp/ to t/

15 years agotg import: Remove tg_ prefixes from functions
Petr Baudis [Tue, 9 Sep 2008 22:06:14 +0000 (00:06 +0200)]
tg import: Remove tg_ prefixes from functions

15 years agotg import: Standard options parsing
Petr Baudis [Tue, 9 Sep 2008 22:05:39 +0000 (00:05 +0200)]
tg import: Standard options parsing

15 years agotg import: Standard script header
Petr Baudis [Tue, 9 Sep 2008 22:03:16 +0000 (00:03 +0200)]
tg import: Standard script header

15 years agotg import: Better description
Petr Baudis [Tue, 9 Sep 2008 22:01:54 +0000 (00:01 +0200)]
tg import: Better description

15 years agotopgit: Implement tg-import
Aneesh Kumar K.V [Wed, 13 Aug 2008 15:15:11 +0000 (20:45 +0530)]
topgit: Implement tg-import

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 <aneesh.kumar@gmail.com>
15 years agoAccount for direct-tg arguments in Usage strings
Petr Baudis [Tue, 9 Sep 2008 20:21:59 +0000 (22:21 +0200)]
Account for direct-tg arguments in Usage strings

15 years agoFix recursive tg calls: Pass tg parameters through properly
Petr Baudis [Tue, 9 Sep 2008 20:19:23 +0000 (22:19 +0200)]
Fix recursive tg calls: Pass tg parameters through properly

15 years agotg summary: Fix spurious errors on tg-inconsistent remotes
Petr Baudis [Tue, 9 Sep 2008 20:18:23 +0000 (22:18 +0200)]
tg summary: Fix spurious errors on tg-inconsistent remotes

15 years agotg -r REMOTE: Support for switching base remote
Petr Baudis [Tue, 9 Sep 2008 20:02:07 +0000 (22:02 +0200)]
tg -r REMOTE: Support for switching base remote

15 years agotg summary: Mark current branch with '>'
Petr Baudis [Tue, 9 Sep 2008 19:55:55 +0000 (21:55 +0200)]
tg summary: Mark current branch with '>'

15 years agotg info: Note if local head is ahead of remote mate
Petr Baudis [Tue, 9 Sep 2008 19:53:10 +0000 (21:53 +0200)]
tg info: Note if local head is ahead of remote mate

15 years agotg summary: 'L' denotes that push will update remote mate
Petr Baudis [Tue, 9 Sep 2008 19:51:48 +0000 (21:51 +0200)]
tg summary: 'L' denotes that push will update remote mate

15 years agotg summary: Show info about remote mates
Petr Baudis [Tue, 9 Sep 2008 19:49:07 +0000 (21:49 +0200)]
tg summary: Show info about remote mates

15 years agotg info: Asterisk-prefix 'out-of-band' warnings
Petr Baudis [Tue, 9 Sep 2008 19:42:46 +0000 (21:42 +0200)]
tg info: Asterisk-prefix 'out-of-band' warnings

15 years agotg info: Show information about remote branches
Petr Baudis [Tue, 9 Sep 2008 19:41:55 +0000 (21:41 +0200)]
tg info: Show information about remote branches

15 years agohas_remote(): Introduce to check if branch has remote counterpart
Petr Baudis [Tue, 9 Sep 2008 19:38:23 +0000 (21:38 +0200)]
has_remote(): Introduce to check if branch has remote counterpart

15 years agotg update: Support updating from remote branches
Petr Baudis [Tue, 9 Sep 2008 19:33:55 +0000 (21:33 +0200)]
tg update: Support updating from remote branches

Currently, we only ever check against the base remote.

15 years agorecurse_deps+branch_needs_update(): Deal with remote branches
Petr Baudis [Tue, 9 Sep 2008 19:28:48 +0000 (21:28 +0200)]
recurse_deps+branch_needs_update(): Deal with remote branches

In case base needs update against remote base, the remote base ref
is reported. In case head needs update against remote head, the '%'
symbol (akin to ':') is reported.

15 years agotg.sh: Set $base_remote to topgit.remote config value
Petr Baudis [Tue, 9 Sep 2008 19:28:09 +0000 (21:28 +0200)]
tg.sh: Set $base_remote to topgit.remote config value

15 years agoFactor out rev-parse --verify calls to new ref_exists() function
Petr Baudis [Tue, 9 Sep 2008 18:58:19 +0000 (20:58 +0200)]
Factor out rev-parse --verify calls to new ref_exists() function

15 years agotg-update.sh: Better explain base update
Petr Baudis [Tue, 9 Sep 2008 18:50:15 +0000 (20:50 +0200)]
tg-update.sh: Better explain base update

15 years agotg remote: New command
Petr Baudis [Mon, 1 Sep 2008 00:33:47 +0000 (02:33 +0200)]
tg remote: New command

Register TopGit-aware remote, populate local branches from one.

15 years agotg summary: Fix confusing variable name
Petr Baudis [Mon, 1 Sep 2008 00:30:47 +0000 (02:30 +0200)]
tg summary: Fix confusing variable name

15 years agoREADME: Sketch of my current ideas on remotes handling
Petr Baudis [Sun, 31 Aug 2008 17:30:14 +0000 (19:30 +0200)]
README: Sketch of my current ideas on remotes handling

15 years agoAdd various todos/wishlists
martin f. krafft [Tue, 12 Aug 2008 01:41:11 +0000 (22:41 -0300)]
Add various todos/wishlists

[pb: Trim down and expand]

Signed-off-by: martin f. krafft <madduck@debian.org>
15 years agoAdd tg-export to gitignore
martin f. krafft [Tue, 12 Aug 2008 01:26:20 +0000 (22:26 -0300)]
Add tg-export to gitignore

Signed-off-by: martin f. krafft <madduck@debian.org>
15 years agoMakefile: Use $(wildcard) for commands_in
Bert Wesarg [Wed, 13 Aug 2008 07:11:15 +0000 (09:11 +0200)]
Makefile: Use $(wildcard) for commands_in

To prevent merge conflicts while adding new commands, use a wildcard for
the command list.

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
15 years agoForce adding the .topmsg and .topdep files.
David Brown [Thu, 14 Aug 2008 05:15:45 +0000 (22:15 -0700)]
Force adding the .topmsg and .topdep files.

If the .gitignore in effect is ignoring the .topmsg and .topdeps
files, tg create will fail trying to add these files.  Add the
'-f option to these add commands to force the files to be added
anyway.

Signed-off-by: David Brown <git@davidb.org>
15 years agotg-info: fix sed typo
Jonathan Nieder [Wed, 13 Aug 2008 05:16:33 +0000 (00:16 -0500)]
tg-info: fix sed typo

There was a semicolon missing before a closing brace.  The result
is an error message on some operating systems (e.g., Mac OS 10.3).

$ tg info
Topic Branch: t/some-topic (       2/       2 commits)
Subject: [PATCH] t/some-topic
Base: 082a7c9
sed: 1: "1{s/^/Depends: /;n}; s/ ...": extra characters a
t the end of n command

Signed-off-by: Jonathan Nieder <jrnieder@uchicago.edu>
15 years agosupply template argument to mktemp
Jonathan Nieder [Wed, 13 Aug 2008 00:17:22 +0000 (19:17 -0500)]
supply template argument to mktemp

mktemp versions before 1.5 did not allow omitting the template
(prefix.XXXXXX) argument.  Thus on Mac OS X,

$ mktemp -d
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix

So supply a filename template.  To maintain the intended
behavior, we have to add -t, too.  It was implied before.

Signed-off-by: Jonathan Nieder <jrnieder@uchicago.edu>
15 years agoTOPGIT: [PATCH] Use standard prefix and DESTDIR rather than explain
Jan Nieuwenhuizen [Tue, 12 Aug 2008 12:54:30 +0000 (14:54 +0200)]
TOPGIT: [PATCH] Use standard prefix and DESTDIR rather than explain

An install nitpick.

Signed-off-by: Jan Nieuwenhuizen <janneke@gnu.org>
15 years agotg create: Set up refs/top-bases/ after conflict resolution
Petr Baudis [Tue, 12 Aug 2008 17:35:54 +0000 (19:35 +0200)]
tg create: Set up refs/top-bases/ after conflict resolution

This has two reasons:

(i) In case of aborted operation, no junk is left over.

(ii) In older Git versions, git checkout -b errors out on detached HEAD.

Reported by Jan Holesovsky.

15 years agotg-export: Ensure we don't overwrite a branch by git update-ref
Petr Baudis [Tue, 12 Aug 2008 16:19:20 +0000 (18:19 +0200)]
tg-export: Ensure we don't overwrite a branch by git update-ref

15 years agoTopGit-0.2
Petr Baudis [Mon, 11 Aug 2008 22:54:03 +0000 (00:54 +0200)]
TopGit-0.2

15 years agotg export: Print progress messages _before_ the action
Petr Baudis [Mon, 11 Aug 2008 22:06:38 +0000 (00:06 +0200)]
tg export: Print progress messages _before_ the action

15 years agotg export: Support --quilt for exporting to quilt series
Petr Baudis [Mon, 11 Aug 2008 22:05:43 +0000 (00:05 +0200)]
tg export: Support --quilt for exporting to quilt series

15 years agotg update: Do not use ${:n:m} substitution (bash extension)
Petr Baudis [Mon, 11 Aug 2008 17:31:01 +0000 (19:31 +0200)]
tg update: Do not use ${:n:m} substitution (bash extension)

15 years agotg export: Really remove TopGit metadata files when exporting
Petr Baudis [Mon, 11 Aug 2008 17:14:25 +0000 (19:14 +0200)]
tg export: Really remove TopGit metadata files when exporting

15 years agoREADME: tg collapse is already implemented (as tg export)
Petr Baudis [Mon, 11 Aug 2008 17:14:03 +0000 (19:14 +0200)]
README: tg collapse is already implemented (as tg export)

15 years agotg.sh: Avoid use of non-SUS 'echo -e'
Petr Baudis [Mon, 11 Aug 2008 16:59:52 +0000 (18:59 +0200)]
tg.sh: Avoid use of non-SUS 'echo -e'

15 years agotg-export: New command for cleaning up history
Petr Baudis [Sun, 10 Aug 2008 20:30:15 +0000 (22:30 +0200)]
tg-export: New command for cleaning up history

15 years agorecurse_deps(): Call itself, not needs_update(), recursively
Petr Baudis [Sun, 10 Aug 2008 20:01:06 +0000 (22:01 +0200)]
recurse_deps(): Call itself, not needs_update(), recursively

15 years agobranch_needs_update(): Fox branch_contains call: $1 -> $_name
Petr Baudis [Sun, 10 Aug 2008 19:59:43 +0000 (21:59 +0200)]
branch_needs_update(): Fox branch_contains call: $1 -> $_name

15 years agomeasure_branch(): Use _bname instead of _name local variable
Petr Baudis [Sun, 10 Aug 2008 19:59:05 +0000 (21:59 +0200)]
measure_branch(): Use _bname instead of _name local variable

15 years agorecurse_deps(): _-prefix $depsfile
Petr Baudis [Sun, 10 Aug 2008 18:37:18 +0000 (20:37 +0200)]
recurse_deps(): _-prefix $depsfile

15 years agoneeds_update(): Split to recurse_deps() and branch_needs_update() helpers
Petr Baudis [Sun, 10 Aug 2008 18:33:23 +0000 (20:33 +0200)]
needs_update(): Split to recurse_deps() and branch_needs_update() helpers

15 years agotg.sh: Add -h, --help aliases for the help command
Antonio Ospite [Sat, 9 Aug 2008 00:58:22 +0000 (02:58 +0200)]
tg.sh: Add -h, --help aliases for the help command

I added some more help switches, I had to read the code to find the 'help'
command because the usual --help and -h didn't worked.

Signed-off-by: Antonio Ospite <ao2@openezx.org>
Signed-off-by: Petr Baudis <pasky@suse.cz>
15 years agotg.sh: it's info/attributes not info/gitattributes
Bert Wesarg [Fri, 8 Aug 2008 06:43:17 +0000 (08:43 +0200)]
tg.sh: it's info/attributes not info/gitattributes

The merge attribute hasn't any effect, because the wrong attribute file was
used.

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Petr Baudis <pasky@suse.cz>
15 years agoMakefile: mkdir $(bindir)
Bert Wesarg [Thu, 7 Aug 2008 16:39:15 +0000 (18:39 +0200)]
Makefile: mkdir $(bindir)

Mkdir $(bindir) in install target.

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Petr Baudis <pasky@suse.cz>
15 years agotg.sh: Check for read permissions of help files
Bert Wesarg [Wed, 6 Aug 2008 08:02:51 +0000 (10:02 +0200)]
tg.sh: Check for read permissions of help files

We currently check only for '-f' but we need to have read permissions as well.

And help files don't need the execution bit set.

[pb: Simplified test.]

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Petr Baudis <pasky@suse.cz>
15 years agotg.sh: Runtime tg-* command check
Bert Wesarg [Wed, 6 Aug 2008 07:49:24 +0000 (09:49 +0200)]
tg.sh: Runtime tg-* command check

Check for tg commands at runtime, not the hard coded list inside tg.sh.

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Petr Baudis <pasky@suse.cz>
15 years agoPretty print the help creation commands in Makefile.
Russell Steicke [Wed, 6 Aug 2008 02:43:48 +0000 (10:43 +0800)]
Pretty print the help creation commands in Makefile.

Print "[HELP] cmdname" while compiling the tg-cmdname.txt files.

Signed-off-by: Russell Steicke <russellsteicke@gmail.com>
Signed-off-by: Petr Baudis <pasky@suse.cz>
15 years agocreate-help.sh: Fix 'tg update' generated help text
Petr Baudis [Tue, 5 Aug 2008 22:31:21 +0000 (00:31 +0200)]
create-help.sh: Fix 'tg update' generated help text

15 years agoMake "tg help cmd" print cmd help
Russell Steicke [Mon, 4 Aug 2008 12:21:21 +0000 (20:21 +0800)]
Make "tg help cmd" print cmd help

"tg help" looked like it needed help, and stuff it needed to know
about was already in README.

Use awk to extract help information from the README file.  Store
the help files in $(PREFIX)/share/topgit.  "tg help foo" will cat
$(PREFIX)/share/topgit/tg-foo.txt.

Signed-off-by: Russell Steicke <russellsteicke@gmail.com>
15 years agotg-info: pretty print dependencies
Bert Wesarg [Tue, 5 Aug 2008 11:19:07 +0000 (13:19 +0200)]
tg-info: pretty print dependencies

Print one dependency per line in tg-info output.

[pb: Simplified implementation.]

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Petr Baudis <pasky@suse.cz>
15 years agotg-create.sh: Pre-fill [PATCH] line with patch name
Petr Baudis [Tue, 5 Aug 2008 22:18:59 +0000 (00:18 +0200)]
tg-create.sh: Pre-fill [PATCH] line with patch name

15 years agotg-create.sh: Introduce topgit.subjectprefix config option
Bert Wesarg [Tue, 5 Aug 2008 19:13:30 +0000 (21:13 +0200)]
tg-create.sh: Introduce topgit.subjectprefix config option

Set the topgit.subjectprefix config option to prepend the string to the [PATCH]
field in the Subject: line of the '.topmsg' file.

[pb: Fixed conflicts and calling style.]

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
15 years agotg-create.sh: fix help string
Bert Wesarg [Tue, 5 Aug 2008 15:07:38 +0000 (17:07 +0200)]
tg-create.sh: fix help string

The help string of the tg-create command was not changed with the commit
"Change usage (-d ->arguments) <ab712f2ed92a6e451bf2d482b03d2559697bf100>".

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
15 years agoneeds_update(): Fix $missing_deps passing
Petr Baudis [Sun, 3 Aug 2008 18:47:58 +0000 (20:47 +0200)]
needs_update(): Fix $missing_deps passing

Instead of piping git cat-file output to our loop, we have to use
a temporary file so that $missing_deps gets exported properly.
Also, get rid of an extra leading space in its output.

15 years agotg-create.sh: Introduce topgit.{to,cc,bcc} config options
Petr Baudis [Sun, 3 Aug 2008 18:30:03 +0000 (20:30 +0200)]
tg-create.sh: Introduce topgit.{to,cc,bcc} config options

15 years agoREADME: Mark future tg patch features as TODO clearly
Petr Baudis [Sun, 3 Aug 2008 18:20:51 +0000 (20:20 +0200)]
README: Mark future tg patch features as TODO clearly

15 years agotg-create.sh: Change usage (-d -> arguments)
Petr Baudis [Sun, 3 Aug 2008 18:18:04 +0000 (20:18 +0200)]
tg-create.sh: Change usage (-d -> arguments)

As suggested on IRC (I think by doener), it is more in the Git usage
spirit for tg create to take the patch dependencies as extra arguments
instead of -d parameter argument.

15 years agoREADME: TODO tg tidy -> tg collapse
Petr Baudis [Sun, 3 Aug 2008 18:13:47 +0000 (20:13 +0200)]
README: TODO tg tidy -> tg collapse

15 years agotg-summary.sh: Clean up printing status columns
Petr Baudis [Sun, 3 Aug 2008 18:01:39 +0000 (20:01 +0200)]
tg-summary.sh: Clean up printing status columns

15 years agotg-summary.sh: Fix nonempty indicator misalignment
Petr Baudis [Sun, 3 Aug 2008 18:01:16 +0000 (20:01 +0200)]
tg-summary.sh: Fix nonempty indicator misalignment

15 years agotg-summary.sh: Mark branches with missing dependencies by '\!'
Petr Baudis [Sun, 3 Aug 2008 18:00:25 +0000 (20:00 +0200)]
tg-summary.sh: Mark branches with missing dependencies by '\!'

15 years agoneeds_update(): Return non-zero if update is required
Petr Baudis [Sun, 3 Aug 2008 17:50:04 +0000 (19:50 +0200)]
needs_update(): Return non-zero if update is required

tg summary can avoid a single extra fork this way, and will be
able to harvest extra status information from needs_update.

15 years agotg-update.sh: Abort on missing dependencies
Petr Baudis [Sun, 3 Aug 2008 17:47:46 +0000 (19:47 +0200)]
tg-update.sh: Abort on missing dependencies

15 years agotg-info.sh: Show missing dependencies (needs_update() enhancement)
Petr Baudis [Sun, 3 Aug 2008 17:43:07 +0000 (19:43 +0200)]
tg-info.sh: Show missing dependencies (needs_update() enhancement)

needs_update() now verifies if the _dep refs exists and adds it
to a $missing_deps list if that's not the case.

15 years agotg-patch.sh: Bring deplist format in sync with tg info
Petr Baudis [Sun, 3 Aug 2008 17:32:49 +0000 (19:32 +0200)]
tg-patch.sh: Bring deplist format in sync with tg info

15 years agotg-info.sh: Fix list of >1 dependencies
Petr Baudis [Sun, 3 Aug 2008 17:31:45 +0000 (19:31 +0200)]
tg-info.sh: Fix list of >1 dependencies

15 years agotg.sh: setup_hook(): Test existence instead of -x
Petr Baudis [Sun, 3 Aug 2008 14:28:41 +0000 (16:28 +0200)]
tg.sh: setup_hook(): Test existence instead of -x

Also, be more set -e friendly in boolean lists.

15 years agoCheck for pre-commit hook existence.
Russell Steicke [Sun, 3 Aug 2008 14:14:01 +0000 (22:14 +0800)]
Check for pre-commit hook existence.

Running tg in a repo without an active pre-commit hook fails
saying

  grep: .git/hooks/pre-commit: No such file or directory
  cat: .git/hooks/pre-commit: No such file or directory

Even "tg help" does this!  So add extra checks for existence
of the pre-commit hook.

15 years agoREADME: TODO for tg tidy
Petr Baudis [Sun, 3 Aug 2008 14:02:10 +0000 (16:02 +0200)]
README: TODO for tg tidy

15 years agoREADME: TODO for tg depend
Petr Baudis [Sun, 3 Aug 2008 12:54:12 +0000 (14:54 +0200)]
README: TODO for tg depend

15 years agoREADME: Two TODOs for tg summary
Petr Baudis [Sun, 3 Aug 2008 12:49:33 +0000 (14:49 +0200)]
README: Two TODOs for tg summary

15 years agoREADME: Fix synopsis of resuming tg create
Petr Baudis [Sun, 3 Aug 2008 11:32:12 +0000 (13:32 +0200)]
README: Fix synopsis of resuming tg create

Noticed-by: Samuel Tardieu <sam@rfc1149.net>
15 years agoTopGit v0.1
Petr Baudis [Sun, 3 Aug 2008 02:35:44 +0000 (04:35 +0200)]
TopGit v0.1

15 years agoREADME: Reword randomly
Petr Baudis [Sun, 3 Aug 2008 02:32:47 +0000 (04:32 +0200)]
README: Reword randomly

15 years agotg-summary.sh: Add a 0 column denoting branch emptiness
Petr Baudis [Sun, 3 Aug 2008 02:21:01 +0000 (04:21 +0200)]
tg-summary.sh: Add a 0 column denoting branch emptiness

15 years agotg-delete.sh: Factor out the emptiness test to tg.sh:branch_empty()
Petr Baudis [Sun, 3 Aug 2008 02:20:04 +0000 (04:20 +0200)]
tg-delete.sh: Factor out the emptiness test to tg.sh:branch_empty()

15 years agotg-patch.sh: Fix list of >1 dependencies
Petr Baudis [Sun, 3 Aug 2008 02:00:46 +0000 (04:00 +0200)]
tg-patch.sh: Fix list of >1 dependencies

15 years agotg-create.sh: Fix several bugs when resuming after conflicts
Petr Baudis [Sun, 3 Aug 2008 01:56:34 +0000 (03:56 +0200)]
tg-create.sh: Fix several bugs when resuming after conflicts

15 years agotg-summary.sh: Take base revision from for-each-ref output
Petr Baudis [Sun, 3 Aug 2008 01:38:30 +0000 (03:38 +0200)]
tg-summary.sh: Take base revision from for-each-ref output

15 years agotg-summary.sh: Reuse already available base rev information
Petr Baudis [Sun, 3 Aug 2008 01:27:21 +0000 (03:27 +0200)]
tg-summary.sh: Reuse already available base rev information

15 years agotg.sh: branch_contains(): Using -z instead of wc is faster in the common case
Petr Baudis [Sun, 3 Aug 2008 01:27:01 +0000 (03:27 +0200)]
tg.sh: branch_contains(): Using -z instead of wc is faster in the common case

15 years agotg-update.sh: Fix recursive update shell call
Petr Baudis [Sun, 3 Aug 2008 01:01:37 +0000 (03:01 +0200)]
tg-update.sh: Fix recursive update shell call

The sh -i would not have correct stdin, but tg update did not exit
with an error status on base-head merge conflicts in the first place.