##// END OF EJS Templates
clean: delete obsolete unlinking of .hg/graftstate...
Martin von Zweigbergk -
r44750:3245cdea default
parent child Browse files
Show More
@@ -1041,7 +1041,6 b' def clean(repo, node, show_stats=True, q'
1041 """forcibly switch the working directory to node, clobbering changes"""
1041 """forcibly switch the working directory to node, clobbering changes"""
1042 stats = updaterepo(repo, node, True)
1042 stats = updaterepo(repo, node, True)
1043 assert stats.unresolvedcount == 0
1043 assert stats.unresolvedcount == 0
1044 repo.vfs.unlinkpath(b'graftstate', ignoremissing=True)
1045 if show_stats:
1044 if show_stats:
1046 _showstats(repo, stats, quietempty)
1045 _showstats(repo, stats, quietempty)
1047
1046
General Comments 0
You need to be logged in to leave comments. Login now