Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

sync: more interface, no functionality

Changeset c1dcd0e74142

Parent 223b6972e3f0

by Steve Borho

Changes to one file · Browse files at c1dcd0e74142 Showing diff from parent 223b6972e3f0 Diff from another changeset...

 
15
16
17
 
 
18
19
20
21
22
23
24
 
25
26
27
 
29
30
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
33
34
 
15
16
17
18
19
20
21
22
23
24
25
 
26
27
28
29
 
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
@@ -15,13 +15,15 @@
 from tortoisehg.hgqt.i18n import _  from tortoisehg.hgqt import qtlib   +_schemes = ['local', 'ssh://', 'http://', 'https://'] +  class SyncWidget(QWidget):     def __init__(self, root, parent=None, **opts):   QWidget.__init__(self, parent)     layout = QVBoxLayout() - layout.setContentsMargins(0, 0, 0, 0) + layout.setSpacing(4)   self.setLayout(layout)     self.root = root @@ -29,6 +31,54 @@
  self.tv = PathsTree(root, self)   self.refresh()   + hbox = QHBoxLayout() + hbox.setContentsMargins(0, 0, 0, 0) + hbox.addWidget(QLabel(_('URL:'))) + self.urlentry = QLineEdit('http://user:pw@foo.bar/repo') + hbox.addWidget(self.urlentry) + self.inbutton = QPushButton(_('Incoming')) + hbox.addWidget(self.inbutton) + self.pullbutton = QPushButton(_('Pull')) + hbox.addWidget(self.pullbutton) + self.outbutton = QPushButton(_('Outgoing')) + hbox.addWidget(self.outbutton) + self.pushbutton = QPushButton(_('Push')) + hbox.addWidget(self.pushbutton) + self.emailbutton = QPushButton(_('Email')) + hbox.addWidget(self.emailbutton) + layout.addLayout(hbox) + + hbox = QHBoxLayout() + hbox.setContentsMargins(0, 0, 0, 0) + self.schemes = QComboBox() + for s in _schemes: + self.schemes.addItem(s) + hbox.addWidget(self.schemes) + hbox.addWidget(QLabel(_('Hostname:'))) + self.hostentry = QLineEdit('foo.bar') + hbox.addWidget(self.hostentry, 1) + hbox.addWidget(QLabel(_('Port:'))) + self.portentry = QLineEdit() + hbox.addWidget(self.portentry) + self.siteauth = QPushButton(_('Site Authentication')) + hbox.addWidget(self.siteauth) + layout.addLayout(hbox) + + hbox = QHBoxLayout() + hbox.setContentsMargins(0, 0, 0, 0) + hbox.addWidget(QLabel(_('Path:'))) + self.pathentry = QLineEdit('repo') + hbox.addWidget(self.pathentry, 1) + hbox.addWidget(QLabel(_('Username:'))) + self.userentry = QLineEdit('user') + hbox.addWidget(self.userentry) + hbox.addWidget(QLabel(_('Password:'))) + self.pwentry = QLineEdit('pw') + hbox.addWidget(self.pwentry) + self.savebutton = QPushButton(_('Save')) + hbox.addWidget(self.savebutton) + layout.addLayout(hbox) +   pathsframe = QFrame()   pathsframe.setFrameStyle(QFrame.Panel|QFrame.Raised)   pathsbox = QVBoxLayout()