Signed-off-by: Pavel Roskin <proski@gnu.org>
This package was downloaded from http://www.procode.org/stgit/
This package was downloaded from http://www.procode.org/stgit/
-Copyright Holder: Cataling Marinas <catalin.marinas@gmail.com>
+Copyright Holder: Catalin Marinas <catalin.marinas@gmail.com>
and various contributors
License:
and various contributors
License:
if len(args) >= 2:
try:
if git.rev_parse(args[1]) == git.rev_parse('refs/heads/' + args[1]):
if len(args) >= 2:
try:
if git.rev_parse(args[1]) == git.rev_parse('refs/heads/' + args[1]):
- # we are for sure refering to a branch
+ # we are for sure referring to a branch
parentbranch = 'refs/heads/' + args[1]
print 'Recording "%s" as parent branch.' % parentbranch
elif git.rev_parse(args[1]) and re.search('/', args[1]):
parentbranch = 'refs/heads/' + args[1]
print 'Recording "%s" as parent branch.' % parentbranch
elif git.rev_parse(args[1]) and re.search('/', args[1]):
os.rmdir(self.__trash_dir)
# FIXME: find a way to get rid of those manual removals
os.rmdir(self.__trash_dir)
# FIXME: find a way to get rid of those manual removals
- # (move functionnality to StgitObject ?)
+ # (move functionality to StgitObject ?)
if os.path.exists(self.__applied_file):
os.remove(self.__applied_file)
if os.path.exists(self.__unapplied_file):
if os.path.exists(self.__applied_file):
os.remove(self.__applied_file)
if os.path.exists(self.__unapplied_file):
else:
# we store the correctly merged files only for
# tracking the conflict history. Note that the
else:
# we store the correctly merged files only for
# tracking the conflict history. Note that the
- # git.merge() operations shouls always leave the index
+ # git.merge() operations should always leave the index
# in a valid state (i.e. only stage 0 files)
self.refresh_patch(cache_update = False, log = 'push(c)')
raise StackException, str(ex)
# in a valid state (i.e. only stage 0 files)
self.refresh_patch(cache_update = False, log = 'push(c)')
raise StackException, str(ex)
- 'Create a mege commit' \
+ 'Create a merge commit' \
'
git checkout -b br master^^ &&
echo woof > woof.txt &&
'
git checkout -b br master^^ &&
echo woof > woof.txt &&
mv .git/hooks .git/hooks-disabled
echo "empty start" |
git-commit-tree `git-write-tree` >.git/refs/heads/master 2>&4 ||
mv .git/hooks .git/hooks-disabled
echo "empty start" |
git-commit-tree `git-write-tree` >.git/refs/heads/master 2>&4 ||
- error "cannot run git-commit -- is your git-core funtionning?"
+ error "cannot run git-commit -- is your git-core functioning?"