File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ def clean_and_checkout_branch
58
58
run "cd '#{ url } ' && git clean -f -d -x"
59
59
return unless status . branch? ( branch_name )
60
60
61
+ run "cd '#{ url } ' && git reset --hard HEAD"
61
62
run "cd '#{ url } ' && git checkout #{ branch_name } --"
62
- run "cd '#{ url } ' && git reset --hard heads/#{ branch_name } --"
63
63
end
64
64
65
65
def create_tracking_branch ( branch_name )
Original file line number Diff line number Diff line change 2
2
3
3
module OhlohScm
4
4
module Version
5
- STRING = '3.0.4 '
5
+ STRING = '3.0.5 '
6
6
GIT = '2.17.1'
7
7
SVN = '1.9.7'
8
8
CVSNT = '2.5.04'
Original file line number Diff line number Diff line change 5
5
describe 'Activity' do
6
6
describe 'log_filename' do
7
7
it 'should return system tmp dir path' do
8
+ ENV [ 'OHLOH_SCM_TEMP_FOLDER_PATH' ] = nil
8
9
core = get_core ( :git )
9
10
scm = OhlohScm ::Activity . new ( core )
10
11
scm . log_filename . must_equal "#{ Dir . tmpdir } /foobar.log"
You can’t perform that action at this time.
0 commit comments