chiark / gitweb /
topgit.git
15 years agoAdd Vim modelines for consistent spacing
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>
15 years agoNote that do_help is used when short messages might be wanted
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>
15 years agoPrint help message when command is not proper
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>
15 years agoRequire an argument to tg -r
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>
15 years agoImplement installation of contrib/tg-completion.bash
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>
15 years agoremove duplicate installation dir
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>
15 years agoPrint help output when no command is given
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>
15 years agoCheck for cmddir earlier
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>
15 years agoChange tg help exit code to 0
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>
15 years agoProvide new tg2quilt target tg-cleanexport to recreate debian/patches.
martin f. krafft [Wed, 19 Nov 2008 16:59:42 +0000 (17:59 +0100)]
Provide new tg2quilt target tg-cleanexport to recreate debian/patches.

15 years agoMerge branch 'master' into refs/top-bases/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

15 years agoMerge commit 'refs/top-bases/debian/locations' into debian/locations
martin f. krafft [Wed, 19 Nov 2008 16:49:09 +0000 (17:49 +0100)]
Merge commit 'refs/top-bases/debian/locations' into debian/locations

15 years agoadd emacs modeline
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>
15 years agopass --no-print-directory to sub make invocations
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>
15 years agofix hardcoding of patch dir
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>
15 years agodo not use MAKEFLAGS
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>
15 years agomake __tg-temp-export target phony
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>
15 years agoreuse quilt variables
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>
15 years agoclose README snippet bug too
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>
15 years agoadd ignore patterns for quilt and debian build
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>
15 years agoMake sure gitignore patterns are not recursive
martin f. krafft [Wed, 19 Nov 2008 14:42:47 +0000 (15:42 +0100)]
Make sure gitignore patterns are not recursive

15 years agoupdate since HOWTO is gzipped after install
martin f. krafft [Wed, 19 Nov 2008 14:37:26 +0000 (15:37 +0100)]
update since HOWTO is gzipped after install

15 years agoadd news file
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>
15 years agofactor out standard tg2quilt stuff to its own doc
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>
15 years agodo not install topgit.mk file
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>
15 years agorename debhelper files
martin f. krafft [Wed, 19 Nov 2008 14:18:19 +0000 (15:18 +0100)]
rename debhelper files

15 years agoremove +x bit from tg-depend
martin f. krafft [Wed, 19 Nov 2008 14:20:16 +0000 (15:20 +0100)]
remove +x bit from tg-depend

15 years agofix detection of topgit repo
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>
15 years agoprovide tg2quilt to handle most quilt stuff
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>
15 years agofix TG_BRANCHES variable name in README.source
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>
15 years agoadd debcheckout support note to README.source
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>
15 years agoadd bug numbers to changelog
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>
15 years agoadd a TODO about debian/NEWS for makefile snippet
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>
15 years agorecord tg-export factoring in changelog
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>
15 years agoupdate workflow to use tg-export debian/rules target
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>
15 years agoinstall topgit make snippet during build
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>
15 years agofactor out exporting of quilt series to make snippet
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>
15 years agoupdate workflow to make use of tg-export -b
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>
15 years agoignore tg-depend build files
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>
15 years agoMerge commit 'refs/top-bases/debian/locations' into debian/locations
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

15 years agoMerge branch 'master' into refs/top-bases/debian/locations
martin f. krafft [Mon, 17 Nov 2008 21:53:41 +0000 (22:53 +0100)]
Merge branch 'master' into refs/top-bases/debian/locations

15 years agorecord 0.5-1 in changelog, overwriting 0.4-1
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>
15 years agoMerge commit 'topgit-0.5'
martin f. krafft [Mon, 17 Nov 2008 21:46:55 +0000 (22:46 +0100)]
Merge commit 'topgit-0.5'

15 years agoUpdate version in tg script to 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>
15 years agoMake sure $root_dir does not have a trailing slash
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>
15 years agoadd todo items to README.source
martin f. krafft [Tue, 11 Nov 2008 10:12:37 +0000 (11:12 +0100)]
add todo items to README.source

15 years agotg depend: Allow adding deps from a subdir inside the repo.
Matt McDonald [Sat, 8 Nov 2008 19:01:02 +0000 (14:01 -0500)]
tg depend: Allow adding deps from a subdir inside the repo.

15 years agotg-export: no current branch check with -b
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>
15 years agotg-mail: do not use arrays, which are bashisms
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>
15 years agoTopGit: Force adding .topdeps on tg-depend
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>
15 years agoTopGit: small Makefile nitpichink
Antonio Ospite [Fri, 24 Oct 2008 10:54:24 +0000 (12:54 +0200)]
TopGit: small Makefile nitpichink

Make 'prefix' replacement more explicit using ?=

Use simple substitution assignment := when there are some expansions in
place.  This is a good practice to speed up builds, maybe not particularly
useful with such a simple Makefile.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
15 years agoREADME: tg depend rm TODO (insp. by Jonas)
Petr Baudis [Fri, 7 Nov 2008 21:16:37 +0000 (22:16 +0100)]
README: tg depend rm TODO (insp. by Jonas)

15 years agotg summary --graphviz: Dot-suitable dependency graph
Petr Baudis [Thu, 16 Oct 2008 10:35:16 +0000 (12:35 +0200)]
tg summary --graphviz: Dot-suitable dependency graph

Inspired by Antonio Ospite <ospite@studenti.unina.it>'s tg-graphviz.sh.

15 years agoREADME: lever -> level (spotted by jikos)
Petr Baudis [Thu, 16 Oct 2008 10:10:29 +0000 (12:10 +0200)]
README: lever -> level (spotted by jikos)

15 years agotg export: Clarify usage
Petr Baudis [Fri, 3 Oct 2008 15:23:08 +0000 (17:23 +0200)]
tg export: Clarify usage

15 years agotg mail -r MSGID: Generate In-reply-to header
Petr Baudis [Fri, 3 Oct 2008 15:22:56 +0000 (17:22 +0200)]
tg mail -r MSGID: Generate In-reply-to header

15 years agotg update: Always checkout head, even if we didn't update base further
Petr Baudis [Thu, 2 Oct 2008 11:09:14 +0000 (13:09 +0200)]
tg update: Always checkout head, even if we didn't update base further

15 years agoMerge commit 'refs/top-bases/debian/locations' into debian/locations
martin f. krafft [Fri, 26 Sep 2008 18:07:33 +0000 (20:07 +0200)]
Merge commit 'refs/top-bases/debian/locations' into debian/locations

Conflicts:

tg.sh

15 years agoMerge branch 'master' into refs/top-bases/debian/locations
martin f. krafft [Fri, 26 Sep 2008 18:06:01 +0000 (20:06 +0200)]
Merge branch 'master' into refs/top-bases/debian/locations

15 years agoupdate version in README.source
martin f. krafft [Fri, 26 Sep 2008 18:05:36 +0000 (20:05 +0200)]
update version in README.source

15 years agoupdate merging new upstream
martin f. krafft [Fri, 26 Sep 2008 18:01:27 +0000 (20:01 +0200)]
update merging new upstream

15 years agoupdate upstream tarball building steps
martin f. krafft [Fri, 26 Sep 2008 18:00:29 +0000 (20:00 +0200)]
update upstream tarball building steps

15 years agorecord new upstream in debian changelog
martin f. krafft [Fri, 26 Sep 2008 17:56:18 +0000 (19:56 +0200)]
record new upstream in debian changelog

15 years agoMerge commit 'topgit-0.4'
martin f. krafft [Fri, 26 Sep 2008 17:55:50 +0000 (19:55 +0200)]
Merge commit 'topgit-0.4'

15 years agotg update: Fix bogus advice on failed base update
Petr Baudis [Thu, 25 Sep 2008 18:50:36 +0000 (20:50 +0200)]
tg update: Fix bogus advice on failed base update

15 years agotg import: More graceful conflicts handling
Petr Baudis [Thu, 25 Sep 2008 18:50:25 +0000 (20:50 +0200)]
tg import: More graceful conflicts handling

15 years agotg import: Construct actually proper .topmsg file
Petr Baudis [Thu, 25 Sep 2008 18:14:51 +0000 (20:14 +0200)]
tg import: Construct actually proper .topmsg file

15 years agotg import -s: Whitespace fix
Petr Baudis [Thu, 25 Sep 2008 18:11:57 +0000 (20:11 +0200)]
tg import -s: Whitespace fix

15 years agotg import -d: Explicitly specify base dependency of the created branches
Petr Baudis [Thu, 25 Sep 2008 18:11:38 +0000 (20:11 +0200)]
tg import -d: Explicitly specify base dependency of the created branches

15 years agotg import -s: Import single commit using well-defined name
Petr Baudis [Thu, 25 Sep 2008 18:06:57 +0000 (20:06 +0200)]
tg import -s: Import single commit using well-defined name

15 years agotg mail: Fix $header string construction
Petr Baudis [Thu, 25 Sep 2008 16:55:28 +0000 (18:55 +0200)]
tg mail: Fix $header string construction

Prevents e.g. misinterpreting From: line at the body start.

15 years agotg-completion: Use tg summary -t for __tg_topics()
Petr Baudis [Thu, 25 Sep 2008 14:55:41 +0000 (16:55 +0200)]
tg-completion: Use tg summary -t for __tg_topics()

15 years agotg summary -t: Very quick mode, only branch names
Petr Baudis [Thu, 25 Sep 2008 14:55:09 +0000 (16:55 +0200)]
tg summary -t: Very quick mode, only branch names

15 years agoComplete depend subcommand
Jonas Fonseca [Thu, 25 Sep 2008 13:47:06 +0000 (15:47 +0200)]
Complete depend subcommand

Also, removes a debug line and fixes the script header.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
15 years agotg depend: Even more robust subcommand handling
Petr Baudis [Thu, 25 Sep 2008 13:26:05 +0000 (15:26 +0200)]
tg depend: Even more robust subcommand handling

15 years agodepend: Fix help listing
Jonas Fonseca [Thu, 25 Sep 2008 10:50:40 +0000 (12:50 +0200)]
depend: Fix help listing

Without this `tg help depend` causes all kinds of trouble such as adding
empty lines to .topdeps.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
15 years agoAdd bash completion script for TopGit
Jonas Fonseca [Thu, 25 Sep 2008 11:06:56 +0000 (13:06 +0200)]
Add bash completion script for TopGit

The script is based on git's bash completion script.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
15 years agoREADME: Add warning about editing .topdeps manually
Petr Baudis [Thu, 25 Sep 2008 13:16:57 +0000 (15:16 +0200)]
README: Add warning about editing .topdeps manually

15 years agoTopGit-0.4
Petr Baudis [Thu, 25 Sep 2008 00:03:49 +0000 (02:03 +0200)]
TopGit-0.4

15 years agotg export: With quilt driver, accept explicit list of branches
Petr Baudis [Thu, 25 Sep 2008 00:03:02 +0000 (02:03 +0200)]
tg export: With quilt driver, accept explicit list of branches

15 years agotg mail -s SEND_EMAIL_ARGS: Pass arguments to git send-email
Petr Baudis [Wed, 24 Sep 2008 23:33:24 +0000 (01:33 +0200)]
tg mail -s SEND_EMAIL_ARGS: Pass arguments to git send-email

15 years agotg update: Fix resume message
Petr Baudis [Wed, 24 Sep 2008 20:20:57 +0000 (22:20 +0200)]
tg update: Fix resume message

15 years agotg depend add: Add dependency
Petr Baudis [Wed, 24 Sep 2008 17:03:29 +0000 (19:03 +0200)]
tg depend add: Add dependency

15 years agotg delete: Fix spurious output
Petr Baudis [Mon, 22 Sep 2008 16:58:57 +0000 (18:58 +0200)]
tg delete: Fix spurious output

15 years agotg export: Fix exporting remote-based branches
Petr Baudis [Mon, 22 Sep 2008 16:52:57 +0000 (18:52 +0200)]
tg export: Fix exporting remote-based branches

15 years agotg mail: Simplify array usage
Petr Baudis [Mon, 22 Sep 2008 15:46:38 +0000 (17:46 +0200)]
tg mail: Simplify array usage

15 years agotg mail: Tidyup
Petr Baudis [Mon, 22 Sep 2008 15:44:49 +0000 (17:44 +0200)]
tg mail: Tidyup

15 years agotg mail: new command for mailing patches
Kirill Smelkov [Fri, 19 Sep 2008 09:08:21 +0000 (13:08 +0400)]
tg mail: new command for mailing patches

Petr, since you've asked for help on this, here you are:

    $ tg mail [NAME]

a simple script to send one patch over email.

All it does is

    - call `tg patch` for actual patch preparation
    - extract email addresses from whom and where to send a mail
    - boils down to `git send-email`

It is self-hosted -- this mail was send by me with

    $ tg mail t/tg-mail

P.S. I'm not a bash guy, please do not beat me too much...

Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
15 years agotg import: fix + make more robust
Kirill Smelkov [Thu, 18 Sep 2008 16:29:30 +0000 (20:29 +0400)]
tg import: fix + make more robust

a5bf892d0900cbf9949f628c3e05db599341a02c (tg import: Check out new files
as we go) broke tg-import. This is how it fails after that change:

    $ tg import Z~~..Z
    tg: ---- Importing e3e8c1382fe4cedca31e955910914ae0033455eb to t/Z
    tg: Automatically marking dependency on master
    tg: Creating t/Z base from master...
    Switched to a new branch "t/Z"
    tg: Topic branch t/Z set up. Please fill .topmsg now and make initial commit.
    tg: To abort: git rm -f .top* && git checkout master && tg delete t/Z
    fatal: pathspec '.topdeps' did not match any files

That's why, when we do git read-tree -u -m it _kills_ .topmsg and
.topdep both in index and in working tree!

Also, imagine that we are going to import patch C onto A

o---B---A
     \
      C

With read-tree we'll *override* any change in common files between A and
B, so I think read-tree is wrong here (it was ok if we are importing
on top of B).

What is right it seems, is to work on diff level -- to use cherry-pick.
And since cherry-pick does not kill our already-in-index .topmsg and
.topdeps we automatically fix the breakage.

Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
15 years agotg help: <something>: improve readability
Kirill Smelkov [Thu, 18 Sep 2008 16:29:29 +0000 (20:29 +0400)]
tg help: <something>: improve readability

Previously tg help was not showing Usage line, and with this change, now it
looks like e.g.:

$ tg help import
Usage: tg [...] import [-p PREFIX] RANGE...

        Import commits within the given revision range into TopGit,
        creating one topic branch per commit, the dependencies forming
        a linear sequence starting on your current branch.

        The branch names are auto-guessed from the commit messages
        and prefixed by t/ by default; use '-p PREFIX' to specify
        an alternative prefix (even an empty one).

Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
15 years agoUse git-mailinfo to extract author informations from .topmsg
Uwe Kleine-König [Fri, 19 Sep 2008 21:27:57 +0000 (23:27 +0200)]
Use git-mailinfo to extract author informations from .topmsg

This has the benefit that the [PATCH] prefixes are stripped and so it
might help to prevent you sending mails with two prefixes.  (As happend
to me after I git-format-patch'd an exported series and sent it out with
git-send-email.)

Moreover it should make the code more robust and it allows to remove a
helper function.
And it allows you to set add a Date: line to .topmsg which is then used
as author date.

Signed-off-by: Uwe Kleine-König <ukleinek@strlen.de>
15 years agoIgnore vim swp files
Petr Baudis [Mon, 22 Sep 2008 15:28:26 +0000 (17:28 +0200)]
Ignore vim swp files

15 years agotg info, tg patch: Work on top-base HEAD too
Petr Baudis [Mon, 22 Sep 2008 15:24:25 +0000 (17:24 +0200)]
tg info, tg patch: Work on top-base HEAD too

15 years agotg info: Carry over missing Subject line in topmsg
Petr Baudis [Mon, 22 Sep 2008 10:48:40 +0000 (12:48 +0200)]
tg info: Carry over missing Subject line in topmsg

15 years agoMerge commit 'refs/top-bases/debian/locations' into debian/locations
martin f. krafft [Sun, 14 Sep 2008 22:20:27 +0000 (23:20 +0100)]
Merge commit 'refs/top-bases/debian/locations' into debian/locations

15 years agoMerge branch 'master' into refs/top-bases/debian/locations
martin f. krafft [Sun, 14 Sep 2008 22:20:27 +0000 (23:20 +0100)]
Merge branch 'master' into refs/top-bases/debian/locations

15 years agoremove fixes/destdir dependency
martin f. krafft [Sun, 14 Sep 2008 20:47:52 +0000 (21:47 +0100)]
remove fixes/destdir dependency

15 years agoadd bug number requesting new upstream
martin f. krafft [Sun, 14 Sep 2008 22:00:53 +0000 (23:00 +0100)]
add bug number requesting new upstream

15 years agoreflect TopGit remote handling and slight changes to the process
martin f. krafft [Sun, 14 Sep 2008 21:06:36 +0000 (22:06 +0100)]
reflect TopGit remote handling and slight changes to the process

15 years agoamend debian/rules to set $prefix instead of $PREFIX.
martin f. krafft [Sun, 14 Sep 2008 20:22:54 +0000 (21:22 +0100)]
amend debian/rules to set $prefix instead of $PREFIX.

Signed-off-by: martin f. krafft <madduck@debian.org>