Пример #1
0
 def do(self):
     if self.keep_index:
         args = ['save', '--keep-index', self.stash_name]
     else:
         args = ['save', self.stash_name]
     status, output = git.stash(with_stderr=True, with_status=True, *args)
     cola.notifier().broadcast(signals.log_cmd, status, output)
Пример #2
0
 def do(self):
     if self.index:
         args = ['apply', '--index', self.selection]
     else:
         args = ['apply', self.selection]
     status, output = git.stash(with_stderr=True, with_status=True, *args)
     Interaction.log_status(status, output, '')
Пример #3
0
 def do(self):
     if self.index:
         args = ['apply', '--index', self.selection]
     else:
         args = ['apply', self.selection]
     status, output = git.stash(with_stderr=True, with_status=True, *args)
     cola.notifier().broadcast(signals.log_cmd, status, output)
Пример #4
0
 def do(self):
     if self.keep_index:
         args = ['save', '--keep-index', self.stash_name]
     else:
         args = ['save', self.stash_name]
     status, output = git.stash(with_stderr=True, with_status=True, *args)
     Interaction.log_status(status, output, '')
Пример #5
0
 def do(self):
     if self.keep_index:
         args = ['save', '--keep-index', self.stash_name]
     else:
         args = ['save', self.stash_name]
     status, out, err = git.stash(*args)
     Interaction.log_status(status, out, err)
Пример #6
0
 def do(self):
     if self.index:
         args = ['apply', '--index', self.selection]
     else:
         args = ['apply', self.selection]
     status, out, err = git.stash(*args)
     Interaction.log_status(status, out, err)
Пример #7
0
 def do(self):
     if self.index:
         args = ["apply", "--index", self.selection]
     else:
         args = ["apply", self.selection]
     status, output = git.stash(with_stderr=True, with_status=True, *args)
     cola.notifier().broadcast(signals.log_cmd, status, output)
Пример #8
0
 def do(self):
     if self.keep_index:
         args = ['save', '--keep-index', self.stash_name]
     else:
         args = ['save', self.stash_name]
     status, out, err = git.stash(*args)
     Interaction.log_status(status, out, err)
Пример #9
0
 def do(self):
     if self.keep_index:
         args = ['save', '--keep-index', self.stash_name]
     else:
         args = ['save', self.stash_name]
     status, output = git.stash(with_stderr=True, with_status=True, *args)
     Interaction.log_status(status, output, '')
Пример #10
0
 def do(self):
     if self.index:
         args = ['apply', '--index', self.selection]
     else:
         args = ['apply', self.selection]
     status, out, err = git.stash(*args)
     Interaction.log_status(status, out, err)
Пример #11
0
 def do(self):
     if self.index:
         args = ['apply', '--index', self.selection]
     else:
         args = ['apply', self.selection]
     status, output = git.stash(with_stderr=True, with_status=True, *args)
     Interaction.log_status(status, output, '')
Пример #12
0
 def do(self):
     if self.keep_index:
         args = ["save", "--keep-index", self.stash_name]
     else:
         args = ["save", self.stash_name]
     status, output = git.stash(with_stderr=True, with_status=True, *args)
     cola.notifier().broadcast(signals.log_cmd, status, output)
Пример #13
0
 def stash_list(self):
     return git.stash('list')[STDOUT].splitlines()
Пример #14
0
 def do(self):
     status, out, err = git.stash('drop', self.stash_sha1)
     Interaction.log_status(status, out, err)
Пример #15
0
 def stash_diff(self, rev):
     diffstat = git.stash('show', rev)[STDOUT]
     diff = git.stash('show', '-p', rev)[STDOUT]
     return diffstat + '\n\n' + diff
Пример #16
0
 def stash_diff(self, rev):
     diffstat = git.stash('show', rev)
     diff = git.stash('show', '-p', rev)
     return diffstat + '\n\n' + diff
Пример #17
0
 def do(self):
     status, output = git.stash('drop', self.stash_sha1,
                                with_stderr=True, with_status=True)
     Interaction.log_status(status, output, '')
Пример #18
0
 def stash_list(self):
     return git.stash('list').splitlines()
Пример #19
0
 def do(self):
     status, output = git.stash("drop", self.stash_sha1, with_stderr=True, with_status=True)
     cola.notifier().broadcast(signals.log_cmd, status, output)
Пример #20
0
 def do(self):
     status, out, err = git.stash('drop', self.stash_sha1)
     Interaction.log_status(status, out, err)
Пример #21
0
 def do(self):
     status, output = git.stash('drop', self.stash_sha1,
                                with_stderr=True, with_status=True)
     cola.notifier().broadcast(signals.log_cmd, status, output)
Пример #22
0
 def stash_list(self):
     return git.stash('list').splitlines()
Пример #23
0
 def do(self):
     status, output = git.stash('drop',
                                self.stash_sha1,
                                with_stderr=True,
                                with_status=True)
     Interaction.log_status(status, output, '')
Пример #24
0
 def stash_list(self):
     return git.stash("list").splitlines()
Пример #25
0
 def stash_diff(self, rev):
     diffstat = git.stash("show", rev)
     diff = git.stash("show", "-p", rev)
     return diffstat + "\n\n" + diff
Пример #26
0
 def stash_list(self):
     return git.stash('list')[STDOUT].splitlines()
Пример #27
0
 def stash_diff(self, rev):
     diffstat = git.stash('show', rev)[STDOUT]
     diff = git.stash('show', '-p', '--no-ext-diff', rev)[STDOUT]
     return diffstat + '\n\n' + diff