Show More
@@ -856,7 +856,7 b' class localrepository:' | |||
|
856 | 856 | self.dirstate.setparents(n, nullid) |
|
857 | 857 | |
|
858 | 858 | def commit(self, files = None, text = "", user = None, date = None, |
|
859 | match = util.always): | |
|
859 | match = util.always, force=False): | |
|
860 | 860 | commit = [] |
|
861 | 861 | remove = [] |
|
862 | 862 | if files: |
@@ -873,7 +873,7 b' class localrepository:' | |||
|
873 | 873 | commit = c + a |
|
874 | 874 | remove = d |
|
875 | 875 | |
|
876 | if not commit and not remove: | |
|
876 | if not commit and not remove and not force: | |
|
877 | 877 | self.ui.status("nothing changed\n") |
|
878 | 878 | return |
|
879 | 879 |
General Comments 0
You need to be logged in to leave comments.
Login now