Plugins/VcsPlugins/vcsMercurial/hg.py

changeset 3315
bd1a25ead18d
parent 3311
b4775920f5b8
child 3328
15aaa8d3a840
equal deleted inserted replaced
3314:be841c05a7f3 3315:bd1a25ead18d
371 371
372 args = self.initCommand("clone") 372 args = self.initCommand("clone")
373 if rev: 373 if rev:
374 args.append("--rev") 374 args.append("--rev")
375 args.append(rev) 375 args.append(rev)
376 if vcsDataDict["largefiles"]:
377 args.append("--all-largefiles")
376 args.append(self.__hgURL(vcsUrl)) 378 args.append(self.__hgURL(vcsUrl))
377 args.append(projectDir) 379 args.append(projectDir)
378 380
379 if noDialog: 381 if noDialog:
380 if self.__client is None: 382 if self.__client is None:
876 from .HgStatusDialog import HgStatusDialog 878 from .HgStatusDialog import HgStatusDialog
877 self.status = HgStatusDialog(self) 879 self.status = HgStatusDialog(self)
878 self.status.show() 880 self.status.show()
879 self.status.start(name) 881 self.status.start(name)
880 882
881 def hgSummary(self, mq=False): 883 def hgSummary(self, mq=False, largefiles=False):
882 """ 884 """
883 Public method used to show some summary information of the 885 Public method used to show some summary information of the
884 working directory state. 886 working directory state.
885 887
886 @param mq flag indicating to show the queue status as well (boolean) 888 @param mq flag indicating to show the queue status as well (boolean)
889 @param mq flag indicating to show the largefiles status as well
890 (boolean)
887 """ 891 """
888 from .HgSummaryDialog import HgSummaryDialog 892 from .HgSummaryDialog import HgSummaryDialog
889 self.summary = HgSummaryDialog(self) 893 self.summary = HgSummaryDialog(self)
890 self.summary.show() 894 self.summary.show()
891 self.summary.start(self.__projectHelper.getProject().getProjectPath(), 895 self.summary.start(self.__projectHelper.getProject().getProjectPath(),
892 mq=mq) 896 mq=mq, largefiles=largefiles)
893 897
894 def vcsTag(self, name, revision=None, tagName=None): 898 def vcsTag(self, name, revision=None, tagName=None):
895 """ 899 """
896 Public method used to set/remove a tag in the Mercurial repository. 900 Public method used to set/remove a tag in the Mercurial repository.
897 901

eric ide

mercurial