path: root/dgit.1
diff options
authorIan Jackson <>2015-11-07 13:09:56 +0000
committerIan Jackson <>2016-07-01 23:53:45 +0100
commit7121a993cd2206d3f5066e97ebbc397fe079c18f (patch)
tree19019e4648d0fd542bcbcf5937e6264bcdc7f498 /dgit.1
parentbeb3973ddae45ae7e6d11694301463ce732ead79 (diff)
Introduce --rm-old-changes to delete previous builds' changes files.
Diffstat (limited to 'dgit.1')
1 files changed, 16 insertions, 0 deletions
diff --git a/dgit.1 b/dgit.1
index 8235b05..d3f3702 100644
--- a/dgit.1
+++ b/dgit.1
@@ -526,6 +526,18 @@ otherwise, the changes file is expected in that directory (by
default, in
.BR .. ).
+.B --rm-old-changes
+When doing a build, delete any changes files matching
+.IB package _ version _*.changes
+before starting. This ensures that
+dgit push (and dgit sbuild) will be able to unambigously
+identify the relevant changes files from the most recent build, even
+if there have been previous builds with different tools or options.
+The default is not to remove, but
+.B \-\-no-rm-old-changes
+can be used to override a previous \-\-rm-old-changes
+or the .rm-old-changes configuration setting.
.BI --build-products-dir= directory
Specifies where to find the built files to be uploaded.
By default, dgit looks in the parent directory
@@ -647,6 +659,10 @@ One of the values for the command line --clean= option; used if
One of the values for the command line --quilt= option; used if
--quilt is not specified.
+.BR dgit-distro. \fIdistro\fR .rm-old-changes
+Boolean, used if neither \-\-rm-old-changes nor \-\-no-rm-old-changes
+is specified. The default is not to remove.
.BR dgit-distro. \fIdistro\fR .readonly " " auto | a " | " true | t | y | 1 " | " false | f | n | 0
Whether you have push access to the distro.
For Debian, it is OK to use auto, which uses readonly mode if you are