From 25aef8b726d508b7ddccc8f73ec89d13de186a0a Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 8 Feb 2008 23:29:53 +0100 Subject: [PATCH] Exit if debian and ubuntu version are the same already. --- requestsync | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/requestsync b/requestsync index 2ca579c..02d93a1 100755 --- a/requestsync +++ b/requestsync @@ -267,6 +267,10 @@ if __name__ == '__main__': debiancomponent = debian_component(srcpkg) deb_version = cur_deb_version(srcpkg) + if deb_version == cur_ver: + print 'The versions in Debian and Ubuntu are the same already (%s). Aborting.' % (deb_version,) + sys.exit(1) + # generate bug report subscribe = 'ubuntu-archive' status = 'confirmed'