cloning.rb revision c00d76f9bce28fe681b17235609953424ac021e5
require 'subprocess'
# Struct for old and new OID
set_section %w( remote origin ),
fetch: '+refs/*:refs/*',
mirror: 'true'
end
# Do we have a standard layout?
else
end
end
end
end
# Fetches the latest commits and resets the local master
if svn_has_trunk?
else
end
end
end
# Sets the reference of a local branch
end
end
end
end
true
false
end
end
end
# Executes a git command
args.unshift 'git'
LANG: 'C'
end
# Yields the given block and returns the head OID
# before and after yielding the block.
end
end
end