##// END OF EJS Templates
narrow: write the narrow spec in a transaction during clone...
marmoute -
r51084:6065a893 default
parent child Browse files
Show More
@@ -986,7 +986,9 b' def clone('
986 local = destpeer.local()
986 local = destpeer.local()
987 if local:
987 if local:
988 if narrow:
988 if narrow:
989 with local.wlock(), local.lock():
989 with local.wlock(), local.lock(), local.transaction(
990 b'narrow-clone'
991 ):
990 local.setnarrowpats(storeincludepats, storeexcludepats)
992 local.setnarrowpats(storeincludepats, storeexcludepats)
991 narrowspec.copytoworkingcopy(local)
993 narrowspec.copytoworkingcopy(local)
992
994
General Comments 0
You need to be logged in to leave comments. Login now