Merge branch 'irpab-fix_format_source'

This commit is contained in:
Fred Hebert 2014-12-21 15:49:33 -05:00
commit 5be65b633f
2 changed files with 3 additions and 0 deletions

1
THANKS
View file

@ -131,3 +131,4 @@ Roberto Aloi
Luis Rascao
Vlad Dumitrescu
stwind
Pavel Baturko

View file

@ -816,5 +816,7 @@ format_source(App, {git, Url, {tag, Tag}}) ->
?FMT("~p TAG ~s ~s", [App, Tag, Url]);
format_source(App, {_, Url, Rev}) ->
?FMT("~p REV ~s ~s", [App, Rev, Url]);
format_source(App, {SrcType, Url}) ->
?FMT("~p ~p ~s", [App, SrcType, Url]);
format_source(App, undefined) ->
?FMT("~p", [App]).