Commits

immerrr committed 679dc6c

Allow amending without changes

  • Participants
  • Parent commits c44e2c1

Comments (0)

Files changed (1)

File crecord/crecord_core.py

         changed = changes[0] + changes[1] + changes[2]
         newfiles = [f for f in changed if f in contenders]
 
-        if not newfiles:
+        if not newfiles and not opts.get('amend'):
             ui.status(_('no changes to record\n'))
             return 0