diff -r a434e007ab9a -r 6854bb0beda5 Plugins/VcsPlugins/vcsMercurial/HgBundleDialog.py --- a/Plugins/VcsPlugins/vcsMercurial/HgBundleDialog.py Sat Apr 24 18:05:15 2010 +0000 +++ b/Plugins/VcsPlugins/vcsMercurial/HgBundleDialog.py Sun Apr 25 12:38:46 2010 +0000 @@ -15,14 +15,20 @@ """ Class implementing a dialog to enter the data for a bundle operation. """ - def __init__(self, parent = None): + def __init__(self, tagsList, branchesList, parent = None): """ Constructor + + @param tagsList list of tags (list of strings) + @param branchesList list of branches (list of strings) + @param parent parent widget (QWidget) """ QDialog.__init__(self, parent) self.setupUi(self) self.compressionCombo.addItems(["", "bzip2", "gzip", "none"]) + self.tagCombo.addItems(list(sorted(tagsList))) + self.branchCombo.addItems(list(sorted(["default"] + branchesList))) def getParameters(self): """