chiark / gitweb /
Merge branch 'stable' into HEAD base.pbuilder-config
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Jul 2017 20:40:29 +0000 (21:40 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Jul 2017 20:40:29 +0000 (21:40 +0100)
debian/changelog
dgit
dgit.1
using-these [new file with mode: 0755]

index 5478618ba2fac6a7de3bf5293097f8a4e24f7ae0..5978c663a65e5630806fba3d6c7dd49f46320f06 100644 (file)
@@ -1,3 +1,17 @@
+dgit (4.1~) experimental; urgency=medium
+
+  Internal changes:
+  * using-these: New script to help with ad-hoc-testing.
+
+ --
+
+dgit (4.0) experimental; urgency=low
+
+  * dgit: --deliberately-not-fast-forward works properly in
+    split view quilt modes (suppressing the pseudomerge).
+
+ -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 12 Feb 2017 22:22:31 +0000
+
 dgit (3.12) unstable; urgency=high
 
   Important bugfixes to dgit:
diff --git a/dgit b/dgit
index 42647ce02e79d277ef9a211e00eed5986387ffc3..9c7ec734e9f52c4371a31e817a3a392981c0f399 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -3913,6 +3913,7 @@ sub splitbrain_pseudomerge ($$$$) {
     #
 
     return $dgitview unless defined $archive_hash;
+    return $dgitview if deliberately_not_fast_forward();
 
     printdebug "splitbrain_pseudomerge...\n";
 
diff --git a/dgit.1 b/dgit.1
index e5b4bb050b6145a30a72299733622b768677c125..2233d95941fa34f9ec4ac9e9a4a77c25f77cda34 100644 (file)
--- a/dgit.1
+++ b/dgit.1
@@ -554,6 +554,17 @@ Declare that you are deliberately rewinding history.  When pushing to
 Debian, use this when you are making a renewed upload of an entirely
 new source package whose previous version was not accepted for release
 from NEW because of problems with copyright or redistributibility.
+
+In split view quilt modes,
+this also prevents the construction by dgit of a pseudomerge
+to make the dgit view fast forwarding.
+Normally only one of
+--overwrite (which creates a suitable pseudomerge)
+and
+--deliberately-not-fast-forward
+(which suppresses the pseudomerge and the fast forward checks)
+should be needed;
+--overwrite is usually better.
 .TP
 .BR --deliberately-include-questionable-history
 Declare that you are deliberately including, in the git history of
diff --git a/using-these b/using-these
new file mode 100755 (executable)
index 0000000..0bcb4b1
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+set -e
+d="${0%/*}"
+PERLLIB=$d${PERLLIB:+:}${PERLLIB}
+export PERLLIB
+PATH=$d:$d/infra${PATH:+:}${PATH}
+export PATH
+exec "$@"