commit: abort with empty commit text
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
commit: abort with empty commit text
manifest hash:
d932ca95c920d6a4d33281d29e605c6995930016
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCp4oLywK+sNU5EO8RAulBAKCOhHn6p/xNaJUFs/IsOY8+1ad3ZQCfbUNb
XigHO+zgvzzsFWIvLnZFiGI=
=lldi
-----END PGP SIGNATURE-----
--- a/mercurial/hg.py Wed Jun 08 14:46:34 2005 -0800
+++ b/mercurial/hg.py Wed Jun 08 16:15:07 2005 -0800
@@ -498,6 +498,9 @@
edittext += "".join(["HG: removed %s\n" % f for f in remove])
edittext = self.ui.edit(edittext)
+ if not edittext:
+ return 1
+
n = self.changelog.add(mn, new, edittext, tr, p1, p2)
tr.close()