[Buildbot-commits] [Buildbot] #2595: HgPoller splits file paths with spaces

Buildbot trac trac at buildbot.net
Mon Nov 25 14:13:57 UTC 2013


#2595: HgPoller splits file paths with spaces
----------------------+-----------------------
Reporter:  shoelzer   |      Owner:
    Type:  undecided  |     Status:  new
Priority:  major      |  Milestone:  undecided
 Version:  0.8.8      |   Keywords:
----------------------+-----------------------
 I'm using HgPoller as a change source. When I look at a change detail page
 (something like /changes/15), file paths with spaces are listed as
 multiple files instead of single files in the "Changed files" list. For
 example, this:

 {{{
 path/to/repo/foo bar baz/hello.txt
 }}}

 ends up on three lines, like this:

 {{{
 bar
 baz/hello.txt
 path/to/repo/foo
 }}}

 Here's how I defined HgPoller:

 {{{
 c['change_source'].append(HgPoller(
     repourl='http://path/to/repo/',
     branch='default',
     workdir='hgpoller-workdir',
     pollinterval=5*60,
     project='myproj',
     hgbin='C:\Program Files\TortoiseHg\hg.exe'))
 }}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2595>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list