stgit
18 years agoImplement the 'mail' command
Catalin Marinas [Tue, 19 Jul 2005 16:30:45 +0000 (17:30 +0100)]
Implement the 'mail' command

This command is used to send a series of patches via SMTP. The
.git/patchmail.tmpl file is used as the default template. A first message
template can be used with the --first option. Example templates are in
the examples/ directory.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
18 years agoFix the exception class name in export.py
Catalin Marinas [Tue, 19 Jul 2005 12:08:24 +0000 (13:08 +0100)]
Fix the exception class name in export.py

MainException replaced with CmdException

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
18 years agoAdd --force option to new
Catalin Marinas [Fri, 15 Jul 2005 14:31:17 +0000 (15:31 +0100)]
Add --force option to new

This option creates a new patch even if there are local changes in the
tree. It is useful if one starts modifying the tree but forgot to create
a patch for it.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
18 years agoImplement 'clean' cmd
Catalin Marinas [Fri, 15 Jul 2005 12:10:10 +0000 (13:10 +0100)]
Implement 'clean' cmd

This command deletes all the empty patches from the series.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
18 years agocrt_series initialisation changed
Catalin Marinas [Thu, 14 Jul 2005 16:21:44 +0000 (17:21 +0100)]
crt_series initialisation changed

The current model does not allow running any command outside a GIT tree.
Even 'help' fails. The simple hack is to use setattr to initialise
crt_series in a module. The other option would be to initialise it in
every command file but I'm too lazy to do it.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
18 years agoallow spaces in filenames (second try)
Bryan Larsen [Thu, 14 Jul 2005 10:09:37 +0000 (11:09 +0100)]
allow spaces in filenames (second try)

The current version of stgit does not allow whitespace in filenames.
This patch fixes that.  It also speeds up operations on large filesets
considerably.

Signed-off-by: Bryan Larsen <bryan.larsen@gmail.com>
18 years agoThe top patch is never exported.
Bryan Larsen [Thu, 14 Jul 2005 09:48:51 +0000 (10:48 +0100)]
The top patch is never exported.

Signed-off-by: Bryan Larsen <bryan.larsen@gmail.com>
18 years agoAdd "name <email>" parsing for simpler commands
Catalin Marinas [Thu, 14 Jul 2005 09:48:36 +0000 (10:48 +0100)]
Add "name <email>" parsing for simpler commands

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
18 years agoUsing the --message option with the new command fails. Fix it.
Bryan Larsen [Wed, 13 Jul 2005 21:36:26 +0000 (22:36 +0100)]
Using the --message option with the new command fails.  Fix it.

Signed-off-by: Bryan Larsen <bryan.larsen@gmail.com>
18 years agoTrack git/stack exceptions when initialising crt_series
Catalin Marinas [Wed, 13 Jul 2005 16:10:17 +0000 (17:10 +0100)]
Track git/stack exceptions when initialising crt_series

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
18 years agoInstall the stgit.commands package
Catalin Marinas [Tue, 12 Jul 2005 22:05:20 +0000 (23:05 +0100)]
Install the stgit.commands package

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
18 years agoSeparate the commands in stgit/commands/* files
Catalin Marinas [Tue, 12 Jul 2005 22:02:06 +0000 (23:02 +0100)]
Separate the commands in stgit/commands/* files

The main.py file is getting bigger and bigger and it will soon become
unmaintenable. This patch creates separate files for each command.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
18 years agoChangeLog removed
Catalin Marinas [Tue, 12 Jul 2005 21:23:41 +0000 (22:23 +0100)]
ChangeLog removed

It will be automatically generated for every snapshot. Otherwise, the
history is in GIT.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
18 years agoAdd --range option to export
Catalin Marinas [Tue, 12 Jul 2005 17:36:06 +0000 (18:36 +0100)]
Add --range option to export

Useful when you only need to export a range of the applied patches.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
18 years agoUpdate the git cache for the resolved file
Catalin Marinas [Mon, 11 Jul 2005 17:47:48 +0000 (18:47 +0100)]
Update the git cache for the resolved file

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
18 years agoFix __checkout_files() in gitmergeonefile.py
Catalin Marinas [Mon, 11 Jul 2005 17:47:01 +0000 (18:47 +0100)]
Fix __checkout_files() in gitmergeonefile.py

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
18 years agoAllow local changes if the patch deleted is not current
Catalin Marinas [Mon, 11 Jul 2005 17:45:40 +0000 (18:45 +0100)]
Allow local changes if the patch deleted is not current

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
18 years agoAdd --template option to export
Catalin Marinas [Mon, 11 Jul 2005 17:44:40 +0000 (18:44 +0100)]
Add --template option to export

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
18 years agoAdd stgit. before utils in import
Catalin Marinas [Sun, 10 Jul 2005 10:32:34 +0000 (11:32 +0100)]
Add stgit. before utils in import

18 years agoInitial commit (Release 0.4) v0.4
Catalin Marinas [Sun, 10 Jul 2005 07:29:31 +0000 (08:29 +0100)]
Initial commit (Release 0.4)