chiark / gitweb /
Uwe Kleine-König [Thu, 5 Mar 2009 11:16:12 +0000 (12:16 +0100)]
Merge commit 'refs/top-bases/debian/locations' into debian/locations
Uwe Kleine-König [Thu, 5 Mar 2009 11:16:11 +0000 (12:16 +0100)]
Merge branch 'master' into refs/top-bases/debian/locations
Uwe Kleine-König [Thu, 5 Mar 2009 11:10:40 +0000 (12:10 +0100)]
new upstream release topgit-0.7
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Uwe Kleine-König [Thu, 5 Mar 2009 10:40:25 +0000 (11:40 +0100)]
Merge tag 'topgit-0.7' of git://repo.or.cz/topgit
Uwe Kleine-König [Thu, 5 Mar 2009 10:29:07 +0000 (11:29 +0100)]
bump version number to 0.7
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Uwe Kleine-König [Thu, 5 Mar 2009 10:03:51 +0000 (11:03 +0100)]
Merge commit 'refs/top-bases/debian/locations' into debian/locations
Uwe Kleine-König [Thu, 5 Mar 2009 10:03:51 +0000 (11:03 +0100)]
Merge branch 'master' into refs/top-bases/debian/locations
Uwe Kleine-König [Thu, 5 Mar 2009 09:19:05 +0000 (10:19 +0100)]
make removing quilt patches dir more robust
This way errors only occur if something goes really wrong, so don't feed
to /dev/null and don't ignore non-zero exit status.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Thu, 5 Mar 2009 10:02:22 +0000 (11:02 +0100)]
limit tg branches to those ready for deployment
Signed-off-by: martin f. krafft <madduck@debian.org>
Uwe Kleine-König [Thu, 5 Mar 2009 09:56:34 +0000 (10:56 +0100)]
Merge commit 'refs/top-bases/debian/locations' into debian/locations
Uwe Kleine-König [Thu, 5 Mar 2009 09:56:34 +0000 (10:56 +0100)]
Merge branch 'master' into refs/top-bases/debian/locations
martin f. krafft [Thu, 5 Mar 2009 09:52:33 +0000 (10:52 +0100)]
switch back to DH6 compat until we use DH7
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Thu, 5 Mar 2009 09:45:52 +0000 (10:45 +0100)]
point only to the GPLv2 common-licence
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Thu, 5 Mar 2009 09:31:24 +0000 (10:31 +0100)]
Change maintainer to list and add Uwe as uploader
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Thu, 5 Mar 2009 09:29:56 +0000 (10:29 +0100)]
Update packaging copyright to GPLv2 and include 2009
Signed-off-by: martin f. krafft <madduck@debian.org>
Uwe Kleine-König [Thu, 5 Mar 2009 09:19:05 +0000 (10:19 +0100)]
make removing quilt patches dir more robust
This way errors only occur if something goes really wrong, so don't feed
to /dev/null and don't ignore non-zero exit status.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: martin f. krafft <madduck@debian.org>
Uwe Kleine-König [Tue, 3 Mar 2009 10:01:03 +0000 (11:01 +0100)]
Merge commit 'refs/top-bases/debian/locations' into debian/locations
Uwe Kleine-König [Tue, 3 Mar 2009 10:01:03 +0000 (11:01 +0100)]
Merge branch 'master' into refs/top-bases/debian/locations
Uwe Kleine-König [Tue, 3 Mar 2009 09:31:22 +0000 (10:31 +0100)]
Fix typo s/emmail/email/
This was introduced by a tired coder in
d479474440713.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Uwe Kleine-König [Tue, 3 Mar 2009 09:30:10 +0000 (10:30 +0100)]
Merge branch 'upstream' of git.debian.org:/git/collab-maint/topgit
Uwe Kleine-König [Tue, 3 Mar 2009 09:01:23 +0000 (10:01 +0100)]
Add documentation for tg export --linearize
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Uwe Kleine-König [Sun, 1 Mar 2009 19:55:40 +0000 (20:55 +0100)]
Don't throw away already started base on resumed create.
The problem was that after a failure to create the patch base the
resuming tg create did reset HEAD to the next tree to merge in which is
the right thing for a pristine create.
This addresses Debian Bug #513018 and is based on a patch by the bug
reporter Gábor Braun. A recipe triggering the bug is part of the report
that can be found at http://bugs.debian.org/513018.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
martin f. krafft [Sun, 1 Mar 2009 17:59:33 +0000 (18:59 +0100)]
Suggest git-email package
Signed-off-by: martin f. krafft <madduck@debian.org>
Conflicts:
debian/changelog
debian/control
martin f. krafft [Sun, 1 Mar 2009 15:40:48 +0000 (16:40 +0100)]
Also suggest make.
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Sun, 1 Mar 2009 11:39:29 +0000 (12:39 +0100)]
fix the PATCHES_DIR deprecation warning
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Sun, 1 Mar 2009 11:25:59 +0000 (12:25 +0100)]
Deprecate tg2quilt.mk's $PATCHES_DIR variable
put a warning in place to point people to $QUILT_PATCH_DIR instead.
martin f. krafft [Fri, 27 Feb 2009 17:00:30 +0000 (18:00 +0100)]
Suggest the quilt package
Uwe Kleine-König [Thu, 15 Jan 2009 21:45:57 +0000 (22:45 +0100)]
[TOPGIT] implement linearize export method
This is a draft that seems to work for my test case. The error handling
is to be improved though.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Uwe Kleine-König [Wed, 14 Jan 2009 20:26:18 +0000 (21:26 +0100)]
[TOPGIT] make creating a commit from a topgit branch a function
This helps avoiding code duplication for the next commit.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Uwe Kleine-König [Wed, 14 Jan 2009 20:23:51 +0000 (21:23 +0100)]
[TOPGIT] make tg remote idempotent
Before this patch each call to tg remote added three config entries
no matter if they already existed. After some time my .git/config was
crowded.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Uwe Kleine-König [Wed, 25 Feb 2009 19:44:11 +0000 (20:44 +0100)]
[TOPGIT] allow working with annihilated branches
If you decide that you want to drop a patch, you can just merge in its
base with strategy "theirs". Then you have base=topic and so no .top*
files any more. This patch fixes tg summary and the helper function
recurse_deps() to handle these annihilated branches as if they don't
exist and don't show up in .topdeps files.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Uwe Kleine-König [Wed, 25 Feb 2009 10:05:00 +0000 (11:05 +0100)]
[TOPGIT] limit rev-list in branch_contains to a single rev
This eases reading of debug output using sh -x and probably helps
performance, too.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
martin f. krafft [Wed, 4 Feb 2009 19:51:58 +0000 (20:51 +0100)]
Fix GPL version in copyright file (closes: #514157).
martin f. krafft [Fri, 23 Jan 2009 05:33:43 +0000 (16:33 +1100)]
bump version number to 0.6
martin f. krafft [Fri, 23 Jan 2009 05:33:29 +0000 (16:33 +1100)]
put tg version into a variable at the top
Kirill Smelkov [Wed, 21 Jan 2009 20:18:42 +0000 (23:18 +0300)]
tg-patch: add support for generating patches against worktree and index
This implements `tg patch -i` and `tg patch -w` to see current patch as
generated against not-yet-committed index and worktree.
NOTE: unfortunately `git cat-file blob <file>` does not provide an option
to cat file from worktree (only from an object or from index), so I had to
unroll my own `cat file topic:file` with special support for '(i)' and
'(w)' topics.
Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Kirill Smelkov [Wed, 21 Jan 2009 20:18:42 +0000 (23:18 +0300)]
tg-patch: fix pagination
Previously, when I was invoking `tg patch` the following used to happen:
1. .topmsg content was sent directly to _terminal_
2. for each file in the patch, its diff was generated with `git diff`
and sent to *PAGER*
3. trailing 'tg: ...' was sent to terminal again
So the problem is that while `tg patch >file` works as expected, plain
`tg patch` does not -- in pager there is only a part of the whole patch
(first file diff) and header and trailer are ommitted.
I've finally decided to fix this inconvenience, and the way it works is
like in git -- we just hook `setup_pager` function in commands which
need to be paginated.
Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Kirill Smelkov [Wed, 21 Jan 2009 20:18:42 +0000 (23:18 +0300)]
Implement setup_pager just like in git
setup_pager() spawns a pager process and redirect the rest of our output
to it.
This will be needed to fix `tg patch` output in the next commit.
Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Uwe Kleine-König [Wed, 14 Jan 2009 20:23:51 +0000 (21:23 +0100)]
make tg remote idempotent
Before this patch each call to tg remote added three config entries
no matter if they already existed. After some time my .git/config was
crowded.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
martin f. krafft [Wed, 21 Jan 2009 03:36:45 +0000 (14:36 +1100)]
Check for git-send-email and die if not found
Signed-off-by: martin f. krafft <madduck@debian.org>
Kirill Smelkov [Mon, 5 Jan 2009 15:08:20 +0000 (18:08 +0300)]
tg-completion: complete options for `tg remote`
Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Signed-off-by: martin f. krafft <madduck@debian.org>
Kirill Smelkov [Mon, 5 Jan 2009 15:08:19 +0000 (18:08 +0300)]
tg-completion: complete options for `tg summary`
Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Signed-off-by: martin f. krafft <madduck@debian.org>
Uwe Kleine-König [Fri, 19 Dec 2008 22:21:48 +0000 (23:21 +0100)]
tg export (quilt): Implement numbering the patches
To ease sending patches, with --numbered each patch gets a number prefix
similar to the output of git format-patch.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: martin f. krafft <madduck@debian.org>
Uwe Kleine-König [Fri, 19 Dec 2008 21:40:33 +0000 (22:40 +0100)]
tg export (quilt): Implement flattening patch paths
The result of providing the new flag --flatten is that the exported
patches are all placed directly in the output directory, not in
subdirectories below it.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: martin f. krafft <madduck@debian.org>
Uwe Kleine-König [Fri, 19 Dec 2008 21:18:37 +0000 (22:18 +0100)]
tg export (collapse): implement skipping empty patches
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Tue, 2 Dec 2008 09:52:56 +0000 (10:52 +0100)]
Note in tg2quilt.mk's header the need to soft-include the file
This avoids the build dependency on topgit as debian/rules can be used
just fine without the file present.
Signed-off-by: martin f. krafft <madduck@debian.org>
Jonas Fonseca [Tue, 2 Dec 2008 07:45:46 +0000 (08:45 +0100)]
README: spelling fixes
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: martin f. krafft <madduck@debian.org>
Bert Wesarg [Wed, 26 Nov 2008 18:39:45 +0000 (19:39 +0100)]
tg-summary: -t and --graphviz are mutual exclusive
The -t and --graphviz don't work together, the output is not what one expect.
Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: martin f. krafft <madduck@debian.org>
Uwe Kleine-König [Wed, 26 Nov 2008 12:13:00 +0000 (13:13 +0100)]
tg-export: implement skipping empty patches for quilt mode
addionally fix the README item for skipping the export of empty patches
not to need an option (-n) as this should be the default.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: martin f. krafft <madduck@debian.org>
Marc Weber [Fri, 21 Nov 2008 09:05:30 +0000 (10:05 +0100)]
Pass -- to rev-list for branch/filename disambiguation
While playing around it happened that I called the topic branch and
a file "foo"... Here is a small incomplete patch: I've not tried to
catch all of these errors..
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Thu, 20 Nov 2008 14:46:05 +0000 (15:46 +0100)]
Add Vim modelines for consistent spacing
TopGit shell scripts use tabs and this commit instructs Vim via modeline not
to expand tabs.
Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@ucw.cz>
martin f. krafft [Thu, 20 Nov 2008 14:24:16 +0000 (15:24 +0100)]
Note that do_help is used when short messages might be wanted
From http://marc.info/?l=git&m=
122718711327376&w=2, by Petr:
Note that I think these changes are reasonable only as long as do_help
is just a short two-line usage help; in the event we also implement a
longer help, it certainly shouldn't be printed in these cases.
This commit adds a comment to the do_help function to remind us.
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Thu, 20 Nov 2008 14:06:19 +0000 (15:06 +0100)]
Print help message when command is not proper
When invoked with an unknown subcommand, or when --help is sought for
a command that does not exist, TopGit prints the help message.
Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@suse.cz>
martin f. krafft [Thu, 20 Nov 2008 14:04:48 +0000 (15:04 +0100)]
Require an argument to tg -r
Right now, if -r is passed to tg, an ugly shift error occurs. This patch
checks for that case and outputs the help message if it occurs.
Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@suse.cz>
Uwe Kleine-König [Thu, 20 Nov 2008 09:53:47 +0000 (10:53 +0100)]
Implement installation of contrib/tg-completion.bash
Previously, the bash completion was not installed. This patch fixes
that.
Signed-off-by: Uwe Kleine-König <ukleinek@strlen.de>
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Thu, 20 Nov 2008 10:58:27 +0000 (11:58 +0100)]
remove duplicate installation dir
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Wed, 19 Nov 2008 15:10:23 +0000 (16:10 +0100)]
Print help output when no command is given
As much as I love your message (although you really ought not be
throwing around ducks!), this is more user-friendly.
Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@suse.cz>
martin f. krafft [Wed, 19 Nov 2008 15:08:02 +0000 (16:08 +0100)]
Check for cmddir earlier
Without cmddir, tg is basically useless, even do_help() needs it, so
check it first and die hard if not found
Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@suse.cz>
martin f. krafft [Wed, 19 Nov 2008 15:07:02 +0000 (16:07 +0100)]
Change tg help exit code to 0
Printing --help is not an error, but a successful operation, if the help
output could be printed.
Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@suse.cz>
martin f. krafft [Wed, 19 Nov 2008 16:59:42 +0000 (17:59 +0100)]
Provide new tg2quilt target tg-cleanexport to recreate debian/patches.
martin f. krafft [Wed, 19 Nov 2008 16:49:09 +0000 (17:49 +0100)]
Merge commit 'refs/top-bases/debian/locations' into debian/locations
martin f. krafft [Wed, 19 Nov 2008 16:49:09 +0000 (17:49 +0100)]
Merge branch 'master' into refs/top-bases/debian/locations
martin f. krafft [Wed, 19 Nov 2008 16:17:37 +0000 (17:17 +0100)]
add emacs modeline
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Wed, 19 Nov 2008 16:13:30 +0000 (17:13 +0100)]
pass --no-print-directory to sub make invocations
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Wed, 19 Nov 2008 15:57:22 +0000 (16:57 +0100)]
fix hardcoding of patch dir
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Wed, 19 Nov 2008 15:57:09 +0000 (16:57 +0100)]
do not use MAKEFLAGS
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Wed, 19 Nov 2008 15:55:56 +0000 (16:55 +0100)]
make __tg-temp-export target phony
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Wed, 19 Nov 2008 15:54:56 +0000 (16:54 +0100)]
reuse quilt variables
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Wed, 19 Nov 2008 14:38:46 +0000 (15:38 +0100)]
close README snippet bug too
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Wed, 19 Nov 2008 14:44:15 +0000 (15:44 +0100)]
add ignore patterns for quilt and debian build
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Wed, 19 Nov 2008 14:42:47 +0000 (15:42 +0100)]
Make sure gitignore patterns are not recursive
martin f. krafft [Wed, 19 Nov 2008 14:37:26 +0000 (15:37 +0100)]
update since HOWTO is gzipped after install
martin f. krafft [Wed, 19 Nov 2008 14:27:30 +0000 (15:27 +0100)]
add news file
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Wed, 19 Nov 2008 14:23:09 +0000 (15:23 +0100)]
factor out standard tg2quilt stuff to its own doc
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Wed, 19 Nov 2008 14:19:26 +0000 (15:19 +0100)]
do not install topgit.mk file
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Wed, 19 Nov 2008 14:18:19 +0000 (15:18 +0100)]
rename debhelper files
martin f. krafft [Wed, 19 Nov 2008 14:20:16 +0000 (15:20 +0100)]
remove +x bit from tg-depend
martin f. krafft [Wed, 19 Nov 2008 13:58:10 +0000 (14:58 +0100)]
fix detection of topgit repo
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Wed, 19 Nov 2008 13:55:19 +0000 (14:55 +0100)]
provide tg2quilt to handle most quilt stuff
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Tue, 18 Nov 2008 07:04:33 +0000 (08:04 +0100)]
fix TG_BRANCHES variable name in README.source
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Tue, 18 Nov 2008 07:04:19 +0000 (08:04 +0100)]
add debcheckout support note to README.source
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Tue, 18 Nov 2008 06:39:18 +0000 (07:39 +0100)]
add bug numbers to changelog
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Mon, 17 Nov 2008 22:41:29 +0000 (23:41 +0100)]
add a TODO about debian/NEWS for makefile snippet
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Mon, 17 Nov 2008 22:40:42 +0000 (23:40 +0100)]
record tg-export factoring in changelog
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Mon, 17 Nov 2008 22:39:16 +0000 (23:39 +0100)]
update workflow to use tg-export debian/rules target
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Mon, 17 Nov 2008 22:38:48 +0000 (23:38 +0100)]
install topgit make snippet during build
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Mon, 17 Nov 2008 22:24:12 +0000 (23:24 +0100)]
factor out exporting of quilt series to make snippet
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Mon, 17 Nov 2008 22:06:17 +0000 (23:06 +0100)]
update workflow to make use of tg-export -b
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Mon, 17 Nov 2008 21:57:35 +0000 (22:57 +0100)]
ignore tg-depend build files
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Mon, 17 Nov 2008 21:55:07 +0000 (22:55 +0100)]
Merge commit 'refs/top-bases/debian/locations' into debian/locations
Conflicts:
Makefile
martin f. krafft [Mon, 17 Nov 2008 21:53:41 +0000 (22:53 +0100)]
Merge branch 'master' into refs/top-bases/debian/locations
martin f. krafft [Mon, 17 Nov 2008 21:48:04 +0000 (22:48 +0100)]
record 0.5-1 in changelog, overwriting 0.4-1
Signed-off-by: martin f. krafft <madduck@debian.org>
martin f. krafft [Mon, 17 Nov 2008 21:46:55 +0000 (22:46 +0100)]
Merge commit 'topgit-0.5'
martin f. krafft [Mon, 17 Nov 2008 21:34:13 +0000 (22:34 +0100)]
Update version in tg script to 0.5
Signed-off-by: martin f. krafft <madduck@debian.org>
Matt McDonald [Fri, 14 Nov 2008 00:15:37 +0000 (19:15 -0500)]
Make sure $root_dir does not have a trailing slash
This adds support for using 'tg create' from within a subdirectory.
Apparently, git doesn't seem a do a good job of normalizing paths.
When topgit tries to add a new .topdeps file in a newly created
branch, git bails out with:
$ tg create new-branch
tg: Automatically marking dependency on old-branch
tg: Creating new-branch base from old-branch...
Switched to a new branch "new-branch"
(here, tg tries to do: git add ../../..//.topdeps)
fatal: pathspec '/.topdeps' did not match any files
Since $root_dir is used everywhere like: "$root_dir/.topdeps", this
patch tries to make sure that $root_dir never has the trailing slash
so it always produces safe paths.
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Tue, 11 Nov 2008 10:12:37 +0000 (11:12 +0100)]
add todo items to README.source
Matt McDonald [Sat, 8 Nov 2008 19:01:02 +0000 (14:01 -0500)]
tg depend: Allow adding deps from a subdir inside the repo.
martin f. krafft [Fri, 26 Sep 2008 19:17:12 +0000 (21:17 +0200)]
tg-export: no current branch check with -b
When --quilt .. -b is given, TopGit dies with
piper:../pkg/topgit/topgit|build|% tg export --quilt -b debian/locations debian/patches
tg: fatal: not on a TopGit-controlled branch
which is a little too restrictive as we don't have to be on a tg branch with
-b. This patch simply removes this check if -b has been passed.
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Fri, 26 Sep 2008 19:04:19 +0000 (21:04 +0200)]
tg-mail: do not use arrays, which are bashisms
tg-mail uses shell arrays for the people array, which are not supported by
POSIX. The script runs as /bin/sh, so it cannot assume non-POSIX features.
This patch reimplements the array population with a POSIX-compliant approach.
Signed-off-by: martin f. krafft <madduck@madduck.net>
Antonio Ospite [Tue, 28 Oct 2008 17:54:14 +0000 (18:54 +0100)]
TopGit: Force adding .topdeps on tg-depend
Force adding .topdeps, overcomes the case when .* is in .gitignore
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>