bugged stringlengths 4 228k | fixed stringlengths 0 96.3M | __index_level_0__ int64 0 481k |
|---|---|---|
def on_sql_log_activate(self, *args): if len(args) == 1: menuitem = args[0] if menuitem.name == "clear_all_entries": self.sql_log_model.clear() path, column = self.sql_log_tv.get_cursor() row = self.sql_log_model[path] if menuitem.name == "copy_sql_log": self.clipboard.set_text(row[1]) self.pri_clipboard.set_text(row[... | def on_sql_log_activate(self, *args): if len(args) == 1: menuitem = args[0] if menuitem.name == "clear_all_entries": self.sql_log_model.clear() path, column = self.sql_log_tv.get_cursor() row = self.sql_log_model[path] if menuitem.name == "copy_sql_log": self.clipboard.set_text(row[2]) self.pri_clipboard.set_text(row[... | 27,700 |
def on_sql_log_activate(self, *args): if len(args) == 1: menuitem = args[0] if menuitem.name == "clear_all_entries": self.sql_log_model.clear() path, column = self.sql_log_tv.get_cursor() row = self.sql_log_model[path] if menuitem.name == "copy_sql_log": self.clipboard.set_text(row[1]) self.pri_clipboard.set_text(row[... | def on_sql_log_activate(self, *args): if len(args) == 1: menuitem = args[0] if menuitem.name == "clear_all_entries": self.sql_log_model.clear() path, column = self.sql_log_tv.get_cursor() row = self.sql_log_model[path] if menuitem.name == "copy_sql_log": self.clipboard.set_text(row[1]) self.pri_clipboard.set_text(row[... | 27,701 |
def on_sql_log_activate(self, *args): if len(args) == 1: menuitem = args[0] if menuitem.name == "clear_all_entries": self.sql_log_model.clear() path, column = self.sql_log_tv.get_cursor() row = self.sql_log_model[path] if menuitem.name == "copy_sql_log": self.clipboard.set_text(row[1]) self.pri_clipboard.set_text(row[... | def on_sql_log_activate(self, *args): if len(args) == 1: menuitem = args[0] if menuitem.name == "clear_all_entries": self.sql_log_model.clear() path, column = self.sql_log_tv.get_cursor() row = self.sql_log_model[path] if menuitem.name == "copy_sql_log": self.clipboard.set_text(row[1]) self.pri_clipboard.set_text(row[... | 27,702 |
def on_cw_test(self, *args): import _mysql; data = [] for n in ["host", "user", "password"]: data.append(self.xml.get_widget("cw_%s" % n).get_text()) try: handle = _mysql.connect(*data) except: self.show_message("test connection", "could not connect to host <b>%s</b> with user <b>%s</b> and password <b>%s</b>:\n<i>%s<... | def on_cw_test(self, *args): import _mysql; data = { "connect_timeout": 6 } widget_map = { "password": "passwd" } for n in ["host", "user", "password"]: data.append(self.xml.get_widget("cw_%s" % n).get_text()) try: handle = _mysql.connect(*data) except: self.show_message("test connection", "could not connect to host <... | 27,703 |
def on_cw_test(self, *args): import _mysql; data = [] for n in ["host", "user", "password"]: data.append(self.xml.get_widget("cw_%s" % n).get_text()) try: handle = _mysql.connect(*data) except: self.show_message("test connection", "could not connect to host <b>%s</b> with user <b>%s</b> and password <b>%s</b>:\n<i>%s<... | def on_cw_test(self, *args): import _mysql; data = [] for n in ["host", "user", "password"]: data[widget_map.get(n, n)] = self.xml.get_widget("cw_%s" % n).get_text() try: handle = _mysql.connect(*data) except: self.show_message("test connection", "could not connect to host <b>%s</b> with user <b>%s</b> and password <b... | 27,704 |
def on_cw_test(self, *args): import _mysql; data = [] for n in ["host", "user", "password"]: data.append(self.xml.get_widget("cw_%s" % n).get_text()) try: handle = _mysql.connect(*data) except: self.show_message("test connection", "could not connect to host <b>%s</b> with user <b>%s</b> and password <b>%s</b>:\n<i>%s<... | def on_cw_test(self, *args): import _mysql; data = [] for n in ["host", "user", "password"]: data.append(self.xml.get_widget("cw_%s" % n).get_text()) try: handle = _mysql.connect(**data) except: self.show_message("test connection", "could not connect to host <b>%s</b> with user <b>%s</b> and password <b>%s</b>:\n<i>%s... | 27,705 |
def on_cw_test(self, *args): import _mysql; data = [] for n in ["host", "user", "password"]: data.append(self.xml.get_widget("cw_%s" % n).get_text()) try: handle = _mysql.connect(*data) except: self.show_message("test connection", "could not connect to host <b>%s</b> with user <b>%s</b> and password <b>%s</b>:\n<i>%s<... | def on_cw_test(self, *args): import _mysql; data = [] for n in ["host", "user", "password"]: data.append(self.xml.get_widget("cw_%s" % n).get_text()) try: handle = _mysql.connect(*data) except: self.show_message("test connection", "could not connect to host <b>%s</b> with user <b>%s</b> and password <b>%s</b>:\n<i>%s<... | 27,706 |
def on_template(self, button, t): current_table = self.get_selected_table() current_fc_table = current_table; if t.find("$table$") != -1: if not current_table: show_message("info", "no table selected!\nyou can't execute a template with $table$ in it, if you have no table selected!") return t = t.replace("$table$", sel... | def on_template(self, button, t): current_table = self.get_selected_table() current_fc_table = current_table; if t.find("$table$") != -1: if not current_table: show_message("info", "no table selected!\nyou can't execute a template with $table$ in it, if you have no table selected!") return t = t.replace("$table$", sel... | 27,707 |
def on_template(self, button, t): current_table = self.get_selected_table() current_fc_table = current_table; if t.find("$table$") != -1: if not current_table: show_message("info", "no table selected!\nyou can't execute a template with $table$ in it, if you have no table selected!") return t = t.replace("$table$", sel... | def on_template(self, button, t): current_table = self.get_selected_table() current_fc_table = current_table; if t.find("$table$") != -1: if not current_table: show_message("info", "no table selected!\nyou can't execute a template with $table$ in it, if you have no table selected!") return t = t.replace("$table$", sel... | 27,708 |
def on_template(self, button, t): current_table = self.get_selected_table() current_fc_table = current_table; if t.find("$table$") != -1: if not current_table: show_message("info", "no table selected!\nyou can't execute a template with $table$ in it, if you have no table selected!") return t = t.replace("$table$", sel... | def on_template(self, button, t): current_table = self.get_selected_table() current_fc_table = current_table; if t.find("$table$") != -1: if not current_table: show_message("info", "no table selected!\nyou can't execute a template with $table$ in it, if you have no table selected!") return t = t.replace("$table$", sel... | 27,709 |
def add_sql_log(self, log): max_len = int(self.config["query_log_max_entry_length"]) if len(log) > max_len: log = log[0:max_len] + "\n/* query with length of %d bytes truncated. */" % len(log); # query = db_to_utf8(log); # query = syntax_highlight_markup(query); # query = rxx.replace(query, "[\r\n\t ]+", " ", Regexx::... | def add_sql_log(self, log): max_len = int(self.config["query_log_max_entry_length"]) if len(log) > max_len: log = log[0:max_len] + "\n/* query with length of %d bytes truncated. */" % len(log); # query = db_to_utf8(log); # query = syntax_highlight_markup(query); # query = rxx.replace(query, "[\r\n\t ]+", " ", Regexx::... | 27,710 |
def __init__(self, parent): self.parent = parent | def __init__(self, parent): self.parent = parent | 27,711 |
def __init__(self): swing.JFrame.__init__(self, title=\ "CHAT400 - An AS/400 Instant Messenger", \ resizable=0) # We have to activate this when the script # is ready for production-environments. # self.setDefaultCloseOperation(swing.WindowConstants.DISPOSE_ON_CLOSE) self.contentPane.setLayout(awt.GridBagLayout()) self.... | def __init__(self): swing.JFrame.__init__(self, title=\ "CHAT400 - An AS/400 Instant Messenger", \ resizable=0) # We have to activate this when the script # is ready for production-environments. # self.setDefaultCloseOperation(swing.WindowConstants.DISPOSE_ON_CLOSE) self.contentPane.setLayout(awt.GridBagLayout()) self.... | 27,712 |
def btnActSnd(self, event): cmd = acc.CommandCall(self.as400) #curUsr = self.as400.getUserId() selected = self.users.getSelectedItem() sndUsr =selected.split(':')[0] chatTxt = self.chatTxt.getText() dq = acc.KeyedDataQueue(self.as400, CHATQ) if not dq.exists(): dq.create(KEYLEN, 512) try: if not sndUsr == "ALL TRASH": ... | def btnActSnd(self, event): cmd = acc.CommandCall(self.as400) #curUsr = self.as400.getUserId() selected = self.users.getSelectedItem() sndUsr =selected.split(':')[0] chatTxt = self.chatTxt.getText() dq = acc.KeyedDataQueue(self.as400, CHATQ) if not dq.exists(): dq.create(KEYLEN, 512) try: if not sndUsr == "ALL TRASH": ... | 27,713 |
def btnActSnd(self, event): cmd = acc.CommandCall(self.as400) #curUsr = self.as400.getUserId() selected = self.users.getSelectedItem() sndUsr =selected.split(':')[0] chatTxt = self.chatTxt.getText() dq = acc.KeyedDataQueue(self.as400, CHATQ) if not dq.exists(): dq.create(KEYLEN, 512) try: if not sndUsr == "ALL TRASH": ... | def btnActSnd(self, event): cmd = acc.CommandCall(self.as400) #curUsr = self.as400.getUserId() selected = self.users.getSelectedItem() sndUsr =selected.split(':')[0] chatTxt = self.chatTxt.getText() dq = acc.KeyedDataQueue(self.as400, CHATQ) if not dq.exists(): dq.create(KEYLEN, 512) try: if not sndUsr == "ALL TRASH": ... | 27,714 |
def btnActSnd(self, event): cmd = acc.CommandCall(self.as400) #curUsr = self.as400.getUserId() selected = self.users.getSelectedItem() sndUsr =selected.split(':')[0] chatTxt = self.chatTxt.getText() dq = acc.KeyedDataQueue(self.as400, CHATQ) if not dq.exists(): dq.create(KEYLEN, 512) try: if not sndUsr == "ALL TRASH": ... | def btnActSnd(self, event): cmd = acc.CommandCall(self.as400) #curUsr = self.as400.getUserId() selected = self.users.getSelectedItem() sndUsr =selected.split(':')[0] chatTxt = self.chatTxt.getText() dq = acc.KeyedDataQueue(self.as400, CHATQ) if not dq.exists(): dq.create(KEYLEN, 512) try: if not sndUsr == "ALL TRASH": ... | 27,715 |
def btnActSnd(self, event): cmd = acc.CommandCall(self.as400) curUsr = self.as400.getUserId() selected = self.users.getSelectedItem() sndUsr =selected.split(':')[0] chatTxt = self.chatTxt.getText() dq = acc.KeyedDataQueue(self.as400, CHATQ) if not dq.exists(): dq.create(KEYLEN, 512) try: dq.write(sndUsr, "%s::%s"%(curU... | def btnActSnd(self, event): cmd = acc.CommandCall(self.as400) curUsr = self.as400.getUserId() selected = self.users.getSelectedItem() sndUsr =selected.split(':')[0] chatTxt = self.chatTxt.getText() dq = acc.KeyedDataQueue(self.as400, CHATQ) if not dq.exists(): dq.create(KEYLEN, 512) try: dq.write(sndUsr, "%s::%s"%(curU... | 27,716 |
def exit(event): lang.System.exit(0) | def exit(event): lang.System.exit(0) | 27,717 |
def __init__(self, title=""): JFrame.__init__(self, title) self.size = 400,500 self.windowClosing = exit label = JLabel(text="Class Name:") label.horizontalAlignment = JLabel.RIGHT tpanel = JPanel(layout = awt.FlowLayout()) self.text = JTextField(20, actionPerformed = self.entered) btn = JButton("Enter", actionPerform... | def __init__(self, title=""): JFrame.__init__(self, title) self.size = 400,500 self.windowClosing = self.closing label = JLabel(text="Class Name:") label.horizontalAlignment = JLabel.RIGHT tpanel = JPanel(layout = awt.FlowLayout()) self.text = JTextField(20, actionPerformed = self.entered) btn = JButton("Enter", actio... | 27,718 |
def setupTree(self, top, pedict, ppdict, pmdict): tree_model = SampleModel(top) events = tree_model.addNode("Events",["<<Events of the class and its ancestors>>"]) props = tree_model.addNode("Properties",["<<Properties of the class and its ancestors>>"]) meths = tree_model.addNode("Methods",["<<Methods of the class and... | def setupTree(self, top, pedict, ppdict, pmdict): tree_model = SampleModel(top) events = tree_model.addNode("Events",["<<Events of the class and its ancestors>>"]) props = tree_model.addNode("Properties",["<<Properties of the class and its ancestors>>"]) meths = tree_model.addNode("Methods",["<<Methods of the class and... | 27,719 |
def test_date_triple_value(self): self.assertEqual(self.date.tuple(), (2004, 9, 4, 0, 17, 15.799999977461994)) | def test_date_tuple_value(self): self.assertEqual(self.date.tuple(), (2004, 9, 4, 0, 17, 15.799999977461994)) | 27,720 |
def test_date_triple_value(self): self.assertEqual(self.date.tuple(), (2004, 9, 4, 0, 17, 15.799999977461994)) | def test_date_triple_value(self): self.assertEqual(self.date.tuple(), (2004, 9, 4, 0, 17, 15.799999977461994)) | 27,721 |
def test_date_triple_value(self): self.assertEqual(self.date.tuple(), (2004, 9, 4, 0, 17, 15.799999977461994)) | def test_date_triple_value(self): self.assertEqual(self.date.tuple(), (2004, 9, 4, 0, 17, 15.799999977461994)) | 27,722 |
def setUp(self): self.o = o = Observer() o.lat, o.long, o.elev = '33:45:10', '-84:23:37', 320.0 o.date = '1997/2/15' | def setUp(self): self.o = o = Observer() o.lat, o.long, o.elev = '33:45:10', '-84:23:37', 320.0 o.date = '1997/2/15' | 27,723 |
def compare_attributes(self, body, was_computed, was_given_observer): p = self.predict_attributes(body, was_computed, was_given_observer) t = self.measure_attributes(body) for a in Set(p).union(t): if p[a] is None and t[a] is None: continue if p[a] and isinstance(t[a], p[a]): continue if was_computed: if was_given_obse... | def compare_attributes(self, body, was_computed, was_given_observer): p = predict_attributes(body, was_computed, was_given_observer) t = self.measure_attributes(body) for a in Set(p).union(t): if p[a] is None and t[a] is None: continue if p[a] and isinstance(t[a], p[a]): continue if was_computed: if was_given_observer:... | 27,724 |
def run(self, body): self.compare_attributes(body, False, False) body.compute() self.compare_attributes(body, True, False) body.compute(self.o) self.compare_attributes(body, True, True) body.compute() self.compare_attributes(body, True, False) | def run(self, body): self.compare_attributes(body, False, False) body.compute() self.compare_attributes(body, True, False) body.compute(self.obs) self.compare_attributes(body, True, True) body.compute() self.compare_attributes(body, True, False) | 27,725 |
def test_Planets(self): for init in (Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto, Sun, Moon): self.run(init()) | def test_Planets(self): for init in (Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto, Sun, Moon): self.run(init()) | 27,726 |
def test_Fixed(self): fb = FixedBody() fb._epoch, fb._ra, fb._dec = '2000', '1:30', '15:00' self.run(fb) | def test_Fixed(self): fb = FixedBody() fb._epoch, fb._ra, fb._dec = '2000', '1:30', '15:00' self.run(fb) | 27,727 |
def getLayers(self): word = Words.defaultWordList.pick() self.addSolution(word) return [ random.choice([ Backgrounds.CroppedImage(), Backgrounds.TiledImage(), ]), Text.TextLayer(word, borderSize=1), Distortions.SineWarp(), ] | def getLayers(self): word = Words.defaultWordList.pick() self.addSolution(word) return [ random.choice([ Backgrounds.CroppedImage(), Backgrounds.TiledImage(), ]), Text.TextLayer(word, borderSize=1), Distortions.SineWarp(), ] | 27,728 |
def __getattr__(self, attr): | def __getattr__(self, attr): | 27,729 |
def callproc(self, params = None): | def callproc(self, params = None): | 27,730 |
def execute(self, *args): | def execute(self, *args): | 27,731 |
def fetchone(self): | def fetchone(self): | 27,732 |
def fetchmany(self, size = None): if size==None: size = self.arraysize | def fetchmany(self, size = None): if size==None: size = self.arraysize | 27,733 |
def fetchall(self): | def fetchall(self): | 27,734 |
def close(self): | def close(self): | 27,735 |
def setinputsizes(self, sizes): | def setinputsizes(self, sizes): | 27,736 |
def setoutputsizes(self, sizes, col = None): | def setoutputsizes(self, sizes, col = None): | 27,737 |
def __init__(self, database=None, user=None, password=None): if database==None: raise TypeError, "No database name given." if user != None and password == None: raise TypeError, "Username but no password given." if user == None and password != None: raise TypeError, "Password but no username given." if user == None: us... | def __init__(self, database=None, user=None, password=None): if database==None: raise TypeError, "No database name given." if user != None and password == None: raise TypeError, "Username but no password given." if user == None and password != None: raise TypeError, "Password but no username given." if user == None: us... | 27,738 |
def __getattr__(self, attr): | def __getattr__(self, attr): | 27,739 |
def commit(self): | def commit(self): | 27,740 |
def rollback(self): | def rollback(self): | 27,741 |
def cursor(self): | def cursor(self): | 27,742 |
def callproc(self, params = None): | def callproc(self, params = None): | 27,743 |
def execute(self, *args): | def execute(self, *args): | 27,744 |
def fetchone(self): | def fetchone(self): | 27,745 |
def fetchmany(self, size = None): | def fetchmany(self, size = None): | 27,746 |
def fetchall(self): | def fetchall(self): | 27,747 |
def close(self): | def close(self): | 27,748 |
def setinputsizes(self, sizes): | def setinputsizes(self, sizes): | 27,749 |
def setoutputsizes(self, sizes, col = None): | def setoutputsizes(self, sizes, col = None): | 27,750 |
def _esql_preprocess(file): return cfile | def _esql_preprocess(file): return cfile | 27,751 |
def __add__(self, other): if isinstance(other, IntervalYearToMonth): return self.__class__(0, int(self._months+other._months)) elif isinstance(other, (datetime.datetime, datetime.date)): # extract the date from the other operand y,m,d = other.timetuple()[0:3] otherdate = datetime.date(y,m,d) # shift the date by the des... | def __add__(self, other): if isinstance(other, IntervalYearToMonth): return self.__class__(0, int(self._months+other._months)) elif isinstance(other, (datetime.datetime, datetime.date)): # extract the date from the other operand y,m,d = other.timetuple()[0:3] otherdate = datetime.date(y,m,d) # shift the date by the des... | 27,752 |
def __add__(self, other): if isinstance(other, IntervalYearToMonth): return self.__class__(0, int(self._months+other._months)) elif isinstance(other, (datetime.datetime, datetime.date)): # extract the date from the other operand y,m,d = other.timetuple()[0:3] otherdate = datetime.date(y,m,d) # shift the date by the des... | def __add__(self, other): if isinstance(other, IntervalYearToMonth): return self.__class__(0, int(self._months+other._months)) elif isinstance(other, (datetime.datetime, datetime.date)): # extract the date from the other operand y,m,d = other.timetuple()[0:3] otherdate = datetime.date(y,m,d) # shift the date by the des... | 27,753 |
def edsm_model_updated(self, model): if model.type_name in ('state', 'subgraph'): item = self.current_iconview().currentItem() if item: item.update_model() self.emit_graph_changed() | def edsm_model_updated(self, model): self.emit_graph_changed() | 27,754 |
def edsm_delete_state(self, state): iconview = state.iconView() if iconview: iconview.takeItem(state) model = state._model if isinstance(state, IconViewSubgraphIcon): name = model.name for iconview in self.iconviews(1): if iconview.name() == name: iconview.clear() self.edsm_tabs.removePage(iconview) model.discard() sel... | def edsm_delete_state(self, state): iconview = state.iconView() if iconview: iconview.takeItem(state) model = state._model if isinstance(state, IconViewSubgraphIcon): iconview_name = model.id for iconview in self.iconviews(1): if iconview.name() == name: iconview.clear() self.edsm_tabs.removePage(iconview) model.discar... | 27,755 |
def edsm_delete_state(self, state): iconview = state.iconView() if iconview: iconview.takeItem(state) model = state._model if isinstance(state, IconViewSubgraphIcon): name = model.name for iconview in self.iconviews(1): if iconview.name() == name: iconview.clear() self.edsm_tabs.removePage(iconview) model.discard() sel... | def edsm_delete_state(self, state): iconview = state.iconView() if iconview: iconview.takeItem(state) model = state._model if isinstance(state, IconViewSubgraphIcon): name = model.name for iconview in self.iconviews(1): if iconview.name() == iconview_name: iconview.clear() self.edsm_tabs.removePage(iconview) model.disc... | 27,756 |
def hudson_part_2(sbox): "hudson prob 2.0: prop commit on old dir fails." if sbox.build(): return 1 wc_dir = sbox.wc_dir # Remove gamma from the working copy. gamma_path = os.path.join(wc_dir, 'A', 'D', 'gamma') svntest.main.run_svn(None, 'rm', gamma_path) # Create expected commit output. output_list = [ [gamma_pa... | def hudson_part_2(sbox): "hudson prob 2.0: prop commit on old dir fails." if sbox.build(): return 1 wc_dir = sbox.wc_dir # Remove gamma from the working copy. gamma_path = os.path.join(wc_dir, 'A', 'D', 'gamma') svntest.main.run_svn(None, 'rm', gamma_path) # Create expected commit output. output_list = [ [gamma_pa... | 27,757 |
def hudson_part_2(sbox): "hudson prob 2.0: prop commit on old dir fails." if sbox.build(): return 1 wc_dir = sbox.wc_dir # Remove gamma from the working copy. gamma_path = os.path.join(wc_dir, 'A', 'D', 'gamma') svntest.main.run_svn(None, 'rm', gamma_path) # Create expected commit output. output_list = [ [gamma_pa... | def hudson_part_2(sbox): "hudson prob 2.0: prop commit on old dir fails." if sbox.build(): return 1 wc_dir = sbox.wc_dir # Remove gamma from the working copy. gamma_path = os.path.join(wc_dir, 'A', 'D', 'gamma') svntest.main.run_svn(None, 'rm', gamma_path) # Create expected commit output. output_list = [ [gamma_pa... | 27,758 |
def merge_mixed_revisions(sbox): "commit mixed-rev wc (no erronous merge error)" if sbox.build(): return 1 wc_dir = sbox.wc_dir # Make some convenient paths. iota_path = os.path.join(wc_dir, 'iota') H_path = os.path.join(wc_dir, 'A', 'D', 'H') chi_path = os.path.join(wc_dir, 'A', 'D', 'H', 'chi') omega_path = os.pat... | def merge_mixed_revisions(sbox): "commit mixed-rev wc (no erronous merge error)" if sbox.build(): return 1 wc_dir = sbox.wc_dir # Make some convenient paths. iota_path = os.path.join(wc_dir, 'iota') H_path = os.path.join(wc_dir, 'A', 'D', 'H') chi_path = os.path.join(wc_dir, 'A', 'D', 'H', 'chi') omega_path = os.pat... | 27,759 |
def commit_uri_unsafe(sbox): "commit files and dirs with URI-unsafe characters" if sbox.build(): return 1 wc_dir = sbox.wc_dir # Make some convenient paths. hash_dir = os.path.join(wc_dir, '#hash#') nasty_dir = os.path.join(wc_dir, '#![]{}()<>%') space_path = os.path.join(wc_dir, 'A', 'D', 'space path') bang_path = ... | def commit_uri_unsafe(sbox): "commit files and dirs with URI-unsafe characters" if sbox.build(): return 1 wc_dir = sbox.wc_dir # Make some convenient paths. hash_dir = os.path.join(wc_dir, '#hash#') nasty_dir = os.path.join(wc_dir, '#![]{}()<>%') space_path = os.path.join(wc_dir, 'A', 'D', 'space path') bang_path = ... | 27,760 |
def commit_deleted_edited(sbox): "commit files that have been deleted, but also edited" if sbox.build(): return 1 wc_dir = sbox.wc_dir # Make some convenient paths. iota_path = os.path.join(wc_dir, 'iota') mu_path = os.path.join(wc_dir, 'A', 'mu') # Edit the files. svntest.main.file_append(iota_path, "This file has... | def commit_deleted_edited(sbox): "commit files that have been deleted, but also edited" if sbox.build(): return 1 wc_dir = sbox.wc_dir # Make some convenient paths. iota_path = os.path.join(wc_dir, 'iota') mu_path = os.path.join(wc_dir, 'A', 'mu') # Edit the files. svntest.main.file_append(iota_path, "This file has... | 27,761 |
def get_metadata(self, pool): # by definition, the author and log message must be the same for all # items that went into this commit. therefore, just grab any item from # our record of changes/deletes. if self.changes: file, rev = self.changes[0] else: # there better be one... file, rev = self.deletes[0] | def get_metadata(self, pool): # by definition, the author and log message must be the same for all # items that went into this commit. therefore, just grab any item from # our record of changes/deletes. if self.changes: file, rev = self.changes[0] else: # there better be one... file, rev = self.deletes[0] | 27,762 |
def set_revision_info(self, revision, log, text): timestamp, author, op, old_ts = self.rev_data[revision] digest = sha.new(log + author).hexdigest() if old_ts: # the timestamp on this revision was changed. log it for later # resynchronization of other files's revisions that occurred # for this time and log message. sel... | def set_revision_info(self, revision, log, text): timestamp, author, op, old_ts = self.rev_data[revision] digest = sha.new(log + '\0' + author).hexdigest() if old_ts: # the timestamp on this revision was changed. log it for later # resynchronization of other files's revisions that occurred # for this time and log messa... | 27,763 |
def usage(): print 'USAGE: %s [-v] [-p pass] repository-path' % sys.argv[0] sys.exit(1) | def usage(): print 'USAGE: %s [-v] [-s svn-repos-path] [-p pass] repository-path' \ % sys.argv[0] sys.exit(1) | 27,764 |
def main(): opts, args = getopt.getopt(sys.argv[1:], 'p:v') if len(args) != 1: usage() verbose = 0 start_pass = 1 for opt, value in opts: if opt == '-p': start_pass = int(value) if start_pass < 1 or start_pass > len(_passes): print 'ERROR: illegal value (%d) for starting pass. ' \ 'must be 1 through %d.' % (start_pas... | def main(): opts, args = getopt.getopt(sys.argv[1:], 'p:s:v') if len(args) != 1: usage() verbose = 0 start_pass = 1 for opt, value in opts: if opt == '-p': start_pass = int(value) if start_pass < 1 or start_pass > len(_passes): print 'ERROR: illegal value (%d) for starting pass. ' \ 'must be 1 through %d.' % (start_p... | 27,765 |
def main(): opts, args = getopt.getopt(sys.argv[1:], 'p:v') if len(args) != 1: usage() verbose = 0 start_pass = 1 for opt, value in opts: if opt == '-p': start_pass = int(value) if start_pass < 1 or start_pass > len(_passes): print 'ERROR: illegal value (%d) for starting pass. ' \ 'must be 1 through %d.' % (start_pas... | def main(): opts, args = getopt.getopt(sys.argv[1:], 'p:v') if len(args) != 1: usage() verbose = 0 start_pass = 1 for opt, value in opts: if opt == '-p': start_pass = int(value) if start_pass < 1 or start_pass > len(_passes): print 'ERROR: illegal value (%d) for starting pass. ' \ 'must be 1 through %d.' % (start_pas... | 27,766 |
def run_tests(test_list): "Main routine to run all tests in TEST_LIST." global test_area_url testnum = 0 for arg in sys.argv: if arg == "list": print "Test # Test Description" print "------ ----------------" n = 1 for x in test_list[1:]: prnt_n = `n` if n < 10: prnt_n = " " + prnt_n print " ", prnt_n, " ... | def run_tests(test_list): "Main routine to run all tests in TEST_LIST." global test_area_url testnum = 0 for arg in sys.argv: if arg == "list": print "Test # Test Description" print "------ ----------------" n = 1 for x in test_list[1:]: print " %2d %s" % (n, x.__doc__) n = n+1 return 0 elif arg == "--... | 27,767 |
def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 targets = { } instal... | def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 targets = { } instal... | 27,768 |
def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 targets = { } instal... | def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 targets = { } instal... | 27,769 |
def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 targets = { } instal... | def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 targets = { } instal... | 27,770 |
def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 targets = { } instal... | def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 targets = { } instal... | 27,771 |
def compare_line_lists(expected_lines, actual_lines, regexp): """Compare two lists of lines (ignoring orderings), and return 0 if they are the same or 1 if they are different. Specifically, matches will be made between each line in EXPECTED_LINES and those in ACTUAL_LINES using REGEXP. If a line has no match, or if o... | def compare_line_lists(expected_lines, actual_lines, regexp): """Compare two lists of lines (ignoring orderings), and return 0 if they are the same or 1 if they are different. Specifically, matches will be made between each line in EXPECTED_LINES and those in ACTUAL_LINES using REGEXP. If a line has no match, or if o... | 27,772 |
def compare_line_lists(expected_lines, actual_lines, regexp): """Compare two lists of lines (ignoring orderings), and return 0 if they are the same or 1 if they are different. Specifically, matches will be made between each line in EXPECTED_LINES and those in ACTUAL_LINES using REGEXP. If a line has no match, or if o... | def compare_line_lists(expected_lines, actual_lines, regexp): """Compare two lists of lines (ignoring orderings), and return 0 if they are the same or 1 if they are different. Specifically, matches will be made between each line in EXPECTED_LINES and those in ACTUAL_LINES using REGEXP. If a line has no match, or if o... | 27,773 |
def compare_line_lists(expected_lines, actual_lines, regexp): """Compare two lists of lines (ignoring orderings), and return 0 if they are the same or 1 if they are different. Specifically, matches will be made between each line in EXPECTED_LINES and those in ACTUAL_LINES using REGEXP. If a line has no match, or if o... | defcompare_line_lists(expected_lines,actual_lines,regexp):"""Comparetwolistsoflines(ignoringorderings),andreturn0iftheyarethesameor1iftheyaredifferent.Specifically,matcheswillbemadebetweeneachlineinEXPECTED_LINESandthoseinACTUAL_LINESusingREGEXP.Ifalinehasnomatch,orifoneofthelistshas'leftover'linesattheend,thenthecompa... | 27,774 |
def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } target_... | def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } build_t... | 27,775 |
def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } target_... | def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } target_... | 27,776 |
def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } target_... | def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } target_... | 27,777 |
def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } target_... | def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } target_... | 27,778 |
def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } target_... | def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } target_... | 27,779 |
def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } target_... | def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } target_... | 27,780 |
def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } target_... | def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } target_... | 27,781 |
def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } target_... | def main(fname, oname=None, skip_depends=0): parser = ConfigParser.ConfigParser(_cfg_defaults) parser.read(fname) if oname is None: oname = os.path.splitext(os.path.basename(fname))[0] + '-outputs.mk' ofile = open(oname, 'w') ofile.write('# DO NOT EDIT -- AUTOMATICALLY GENERATED\n\n') errors = 0 groups = { } target_... | 27,782 |
def _filter_clean_files(fname): "Filter files which have a suffix handled by the standard 'clean' rule." # for now, we only look for .la which keeps this code simple. return fname[-3:] != '.la' | def _filter_clean_files(fname): "Filter files which have a suffix handled by the standard 'clean' rule." # for now, we only look for .la which keeps this code simple. return fname[-3:] != '.la' | 27,783 |
def sandbox(x): return "svnadmin_tests-" + `test_list.index(x)` | def sandbox(x): return "svnadmin_tests-" + `test_list.index(x)` | 27,784 |
def commit_in_dir_scheduled_for_addition(sbox): "commit a file inside a directory that's already scheduled to be added" if sbox.build(): return 1 wc_dir = sbox.wc_dir A_path = os.path.join(wc_dir, 'A') Z_path = os.path.join(wc_dir, 'Z') mu_path = os.path.join(wc_dir, 'Z', 'mu') svntest.main.run_svn(None, 'move', A_... | def commit_in_dir_scheduled_for_addition(sbox): "commit a file inside dir scheduled for addition" if sbox.build(): return 1 wc_dir = sbox.wc_dir A_path = os.path.join(wc_dir, 'A') Z_path = os.path.join(wc_dir, 'Z') mu_path = os.path.join(wc_dir, 'Z', 'mu') svntest.main.run_svn(None, 'move', A_path, Z_path) out, er... | 27,785 |
def run(self, list): 'Run all test programs given in LIST.' self._open_log('w') failed = 0 for prog in list: failed = self._run_test(prog) or failed if failed: print 'At least one test FAILED, checking ' + self.logfile self._open_log('r') map(sys.stdout.write, filter(lambda x: x[:4] == 'FAIL', xreadlines(self.log))) se... | def run(self, list): 'Run all test programs given in LIST.' self._open_log('w') failed = 0 for prog in list: failed = self._run_test(prog) or failed if failed: print 'At least one test FAILED, checking ' + self.logfile self._open_log('r') map(sys.stdout.write, filter(lambda x: x[:4] == 'FAIL', self.log.readlines())) se... | 27,786 |
def _run_prog(self, cmdline): 'Execute COMMAND, redirecting standard output and error to the log file.' self.log.flush() old_stdout = os.dup(1) old_stderr = os.dup(2) os.dup2(self.log.fileno(), 1) os.dup2(self.log.fileno(), 2) rv = os.spawnv(os.P_WAIT, cmdline[0], cmdline) os.dup2(old_stdout, 1) os.dup2(old_stderr, 2) ... | def _run_prog(self, cmdline): 'Execute COMMAND, redirecting standard output and error to the log file.' self.log.flush() old_stdout = os.dup(1) old_stderr = os.dup(2) os.dup2(self.log.fileno(), 1) os.dup2(self.log.fileno(), 2) rv = os.spawnv(os.P_WAIT, cmdline[0], cmdline) os.dup2(old_stdout, 1) os.dup2(old_stderr, 2) ... | 27,787 |
def main(): '''Argument parsing and test driver. Usage: run-tests.py <abs_srcdir> <abs_builddir> <python> <shell> <prog ...> The first four parameters are passed unchanged to the TestHarness constuctor. All other parameters are names of test programs. ''' if len(sys.argv) < 6: print 'Usage: run-tests.py <abs_srcdir>... | def main(): '''Argument parsing and test driver. Usage: run-tests.py <abs_srcdir> <abs_builddir> <python> <shell> <prog ...> The first four parameters are passed unchanged to the TestHarness constuctor. All other parameters are names of test programs. ''' if len(sys.argv) < 6: print 'Usage: run-tests.py <abs_srcdir>... | 27,788 |
def get_props(path): "Return a hash of props for PATH, using the svn client." # It's not kosher to look inside .svn/ and try to read the internal # property storage format. Instead, we use 'svn proplist'. After # all, this is the only way the user can retrieve them, so we're # respecting the black-box paradigm. pro... | def get_props(path): "Return a hash of props for PATH, using the svn client." # It's not kosher to look inside .svn/ and try to read the internal # property storage format. Instead, we use 'svn proplist'. After # all, this is the only way the user can retrieve them, so we're # respecting the black-box paradigm. pro... | 27,789 |
def get_standard_status_list(wc_dir): "Return a status list reflecting local mods made by next routine." status_list = svntest.actions.get_virginal_status_list(wc_dir, '1') ### todo: use status-hash below instead. # `.' status_list[0][3]['status'] = '_M' # A/B/lambda, A/D status_list[5][3]['status'] = 'M ' status_... | def get_standard_status_list(wc_dir): "Return a status list reflecting the local mods made by make_standard_slew_of_changes()." status_list = svntest.actions.get_virginal_status_list(wc_dir, '1') ### todo: use status-hash below instead. # `.' status_list[0][3]['status'] = '_M' # A/B/lambda, A/D status_list[5][3]['... | 27,790 |
def run_and_verify_commit(wc_dir_name, output_tree, status_output_tree, error_re_string = None, singleton_handler_a = None, a_baton = None, singleton_handler_b = None, b_baton = None, *args): """Commit and verify results within working copy WC_DIR_NAME, sending ARGS to the commit subcommand. The subcommand output will... | def run_and_verify_commit(wc_dir_name, output_tree, status_output_tree, error_re_string = None, singleton_handler_a = None, a_baton = None, singleton_handler_b = None, b_baton = None, *args): """Commit and verify results within working copy WC_DIR_NAME, sending ARGS to the commit subcommand. The subcommand output will... | 27,791 |
def run_and_verify_commit(wc_dir_name, output_tree, status_output_tree, error_re_string = None, singleton_handler_a = None, a_baton = None, singleton_handler_b = None, b_baton = None, *args): """Commit and verify results within working copy WC_DIR_NAME, sending ARGS to the commit subcommand. The subcommand output will... | def run_and_verify_commit(wc_dir_name, output_tree, status_output_tree, error_re_string = None, singleton_handler_a = None, a_baton = None, singleton_handler_b = None, b_baton = None, *args): """Commit and verify results within working copy WC_DIR_NAME, sending ARGS to the commit subcommand. The subcommand output will... | 27,792 |
def swig_sources(self, sources): swig = self.find_swig() swig_cmd = [swig, "-c", "-python"] for dir in self.include_dirs: swig_cmd.append("-I" + dir) | def swig_sources(self, sources): swig = self.find_swig() swig_cmd = [swig, "-c", "-python"] for dir in self.include_dirs: swig_cmd.append("-I" + dir) | 27,793 |
def swig_sources(self, sources): swig = self.find_swig() swig_cmd = [swig, "-c", "-python"] for dir in self.include_dirs: swig_cmd.append("-I" + dir) | def swig_sources(self, sources): swig = self.find_swig() swig_cmd = [swig, "-c", "-python"] for dir in self.include_dirs: swig_cmd.append("-I" + dir) | 27,794 |
def swig_sources(self, sources): swig = self.find_swig() swig_cmd = [swig, "-c", "-python"] for dir in self.include_dirs: swig_cmd.append("-I" + dir) | def swig_sources(self, sources): swig = self.find_swig() swig_cmd = [swig, "-c", "-python"] for dir in self.include_dirs: swig_cmd.append("-I" + dir) | 27,795 |
def commit(self): # commit this transaction print 'committing: %s, over %d seconds' % (time.ctime(self.t_min), self.t_max - self.t_min) for f, r in self.changes: print ' changing %s : %s' % (r, f) for f, r in self.deletes: print ' deleting %s : %s' % (r, f) | def get_metadata(self, pool): if self.changes: file, rev = self.changes[0] else: file, rev = self.deletes[0] rip = RevInfoParser() rip.parse_cvs_file(file) author = rip.authors[rev] log = rip.logs[rev] a_t = util.apr_ansi_time_to_apr_time(self.t_max)[1] date = util.svn_time_to_nts(a_t, pool) return author, log... | 27,796 |
def commit(self): # commit this transaction print 'committing: %s, over %d seconds' % (time.ctime(self.t_min), self.t_max - self.t_min) for f, r in self.changes: print ' changing %s : %s' % (r, f) for f, r in self.deletes: print ' deleting %s : %s' % (r, f) | def commit(self): # commit this transaction print 'committing: %s, over %d seconds' % (time.ctime(self.t_min), self.t_max - self.t_min) for f, r in self.changes: repos_path = '/' + relative_name(ctx.cvsroot, f[:-2]) print ' changing %s : %s' % (r, repos_path) dirname = os.path.dirname(repos_path) if dirname !=... | 27,797 |
def commit(self): # commit this transaction print 'committing: %s, over %d seconds' % (time.ctime(self.t_min), self.t_max - self.t_min) for f, r in self.changes: print ' changing %s : %s' % (r, f) for f, r in self.deletes: print ' deleting %s : %s' % (r, f) | def commit(self): # commit this transaction print 'committing: %s, over %d seconds' % (time.ctime(self.t_min), self.t_max - self.t_min) for f, r in self.changes: print ' changing %s : %s' % (r, f) for f, r in self.deletes: print ' deleting %s : %s' % (r, f) | 27,798 |
def pass4(ctx): # process the logfiles, creating the target commits = { } count = 0 for line in fileinput.FileInput(ctx.log_fname_base + SORTED_REVS_SUFFIX): timestamp, id, op, rev, fname = parse_revs_line(line) if commits.has_key(id): c = commits[id] else: c = commits[id] = Commit() c.add(timestamp, op, fname, rev) ... | def pass4(ctx): # process the logfiles, creating the target commits = { } count = 0 for line in fileinput.FileInput(ctx.log_fname_base + SORTED_REVS_SUFFIX): timestamp, id, op, rev, fname = parse_revs_line(line) if commits.has_key(id): c = commits[id] else: c = commits[id] = Commit() c.add(timestamp, op, fname, rev) ... | 27,799 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.