Merge branch 'fix_format_source' of https://github.com/irpab/rebar into irpab-fix_format_source

Conflicts:
	THANKS
This commit is contained in:
Fred Hebert 2014-12-21 15:35:13 -05:00
commit 94d568ad0e
2 changed files with 3 additions and 0 deletions

1
THANKS
View file

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

View file

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