[#5308] send source_url and source_path to repo clone events

This refactors a few common lines from the end of each scm
implementation's clone() method into the shared init_as_clone
method. Reduces duplication and makes the separate source_url
and source_path vars available to pass to the event.

Dave Brondsema Dave Brondsema 2012-11-15

Tim Van Steenburgh Tim Van Steenburgh 2012-11-16

changed Allura/allura/model/repository.py
changed Allura/allura/tasks/repo_tasks.py
changed Allura/allura/tests/test_tasks.py
changed ForgeGit/forgegit/model/git_repo.py
changed ForgeGit/forgegit/tests/model/test_repository.py
changed ForgeHg/forgehg/model/hg.py
changed ForgeHg/forgehg/tests/model/test_repository.py
changed ForgeSVN/forgesvn/model/svn.py
changed ForgeSVN/forgesvn/tests/model/test_repository.py
Allura/allura/model/repository.py Diff Switch to side-by-side view
Loading...
Allura/allura/tasks/repo_tasks.py Diff Switch to side-by-side view
Loading...
Allura/allura/tests/test_tasks.py Diff Switch to side-by-side view
Loading...
ForgeGit/forgegit/model/git_repo.py Diff Switch to side-by-side view
Loading...
ForgeGit/forgegit/tests/model/test_repository.py Diff Switch to side-by-side view
Loading...
ForgeHg/forgehg/model/hg.py Diff Switch to side-by-side view
Loading...
ForgeHg/forgehg/tests/model/test_repository.py Diff Switch to side-by-side view
Loading...
ForgeSVN/forgesvn/model/svn.py Diff Switch to side-by-side view
Loading...
ForgeSVN/forgesvn/tests/model/test_repository.py Diff Switch to side-by-side view
Loading...