Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
b5e86853
Commit
b5e86853
authored
Sep 11, 2011
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testnode: handle forced ref updates
parent
51885781
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
erp5/util/testnode/Updater.py
erp5/util/testnode/Updater.py
+2
-1
No files found.
erp5/util/testnode/Updater.py
View file @
b5e86853
...
@@ -194,7 +194,8 @@ class Updater(object):
...
@@ -194,7 +194,8 @@ class Updater(object):
if os.path.exists('
.
git
/
svn
'):
if os.path.exists('
.
git
/
svn
'):
self._git('
svn
', '
rebase
')
self._git('
svn
', '
rebase
')
else:
else:
self._git('
pull
', '
--
ff
-
only
')
self._git('
fetch
')
self._git('
reset
', '
--
merge
', '
@
{
u
}
')
self.revision = self._git_find_rev(self._git('
rev
-
parse
', '
HEAD
'))
self.revision = self._git_find_rev(self._git('
rev
-
parse
', '
HEAD
'))
elif self.getRepositoryType() == SVN_TYPE:
elif self.getRepositoryType() == SVN_TYPE:
# following code allows sparse checkout
# following code allows sparse checkout
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment