
from master.chromium_git_poller_bb8 import ChromiumGitPoller

def Update(config, active_master, c):
  poller = ChromiumGitPoller(
      repourl='http://git.chromium.org/chromium/src.git',
      branch='master',
      pollinterval=10,
      revlinktmpl='http://git.chromium.org/gitweb/?p=chromium/src.git;a=commit;h=%s')
  c['change_source'].append(poller)


from master.chromium_git_poller_bb8 import ChromiumGitPoller

def Update(config, active_master, c):
  poller = ChromiumGitPoller(
      repourl='https://chromium.googlesource.com/chromium/src.git',
      branch='master',
      pollinterval=10,
      revlinktmpl='https://chromium.googlesource.com/chromium/src/+/%h')
  c['change_source'].append(poller)

Switch polling URL to git-on-borg.
Switch polling URL to git-on-borg.

TBR=mmoss@chromium.org,cmp@chromium.org
Review URL: https://codereview.chromium.org/12152002

git-svn-id: 239fca9b83025a0b6f823aeeca02ba5be3d9fd76@179999 0039d316-1c4b-4281-b951-d872f2087c98

  
  from master.chromium_git_poller_bb8 import ChromiumGitPoller
  
  def Update(config, active_master, c):
    poller = ChromiumGitPoller(
-       repourl='http://git.chromium.org/chromium/src.git',
+       repourl='https://chromium.googlesource.com/chromium/src.git',
        branch='master',
        pollinterval=10,
-       revlinktmpl='http://git.chromium.org/gitweb/?p=chromium/src.git;a=commit;h=%s')
+       revlinktmpl='https://chromium.googlesource.com/chromium/src/+/%h')
    c['change_source'].append(poller)
  
Switch polling URL to git-on-borg.
## Code Before:

from master.chromium_git_poller_bb8 import ChromiumGitPoller

def Update(config, active_master, c):
  poller = ChromiumGitPoller(
      repourl='http://git.chromium.org/chromium/src.git',
      branch='master',
      pollinterval=10,
      revlinktmpl='http://git.chromium.org/gitweb/?p=chromium/src.git;a=commit;h=%s')
  c['change_source'].append(poller)

## Instruction:
Switch polling URL to git-on-borg.
## Code After:

from master.chromium_git_poller_bb8 import ChromiumGitPoller

def Update(config, active_master, c):
  poller = ChromiumGitPoller(
      repourl='https://chromium.googlesource.com/chromium/src.git',
      branch='master',
      pollinterval=10,
      revlinktmpl='https://chromium.googlesource.com/chromium/src/+/%h')
  c['change_source'].append(poller)
