Plugins/VcsPlugins/vcsMercurial/hg.py

changeset 6466
dac80ad0de75
parent 6462
58259e234dc9
child 6645
ad476851d7e0
equal deleted inserted replaced
6465:9bb1c7df26b4 6466:dac80ad0de75
2908 from .HgExportDialog import HgExportDialog 2908 from .HgExportDialog import HgExportDialog
2909 dlg = HgExportDialog(self.hgGetBookmarksList(repodir), 2909 dlg = HgExportDialog(self.hgGetBookmarksList(repodir),
2910 self.version >= (4, 7, 0)) 2910 self.version >= (4, 7, 0))
2911 if dlg.exec_() == QDialog.Accepted: 2911 if dlg.exec_() == QDialog.Accepted:
2912 filePattern, revisions, bookmark, switchParent, allText, noDates, \ 2912 filePattern, revisions, bookmark, switchParent, allText, noDates, \
2913 git = dlg.getParameters() 2913 git = dlg.getParameters()
2914 2914
2915 args = self.initCommand("export") 2915 args = self.initCommand("export")
2916 args.append("--output") 2916 args.append("--output")
2917 args.append(filePattern) 2917 args.append(filePattern)
2918 args.append("--verbose") 2918 args.append("--verbose")
2923 if noDates: 2923 if noDates:
2924 args.append("--nodates") 2924 args.append("--nodates")
2925 if git: 2925 if git:
2926 args.append("--git") 2926 args.append("--git")
2927 if bookmark: 2927 if bookmark:
2928 args.append ("--bookmark") 2928 args.append("--bookmark")
2929 args.append(bookmark) 2929 args.append(bookmark)
2930 else: 2930 else:
2931 for rev in revisions: 2931 for rev in revisions:
2932 args.append(rev) 2932 args.append(rev)
2933 2933

eric ide

mercurial