Peform the repo update before calling echangelog.
This commit is contained in:
parent
8ef4e30fc5
commit
156a5d7131
@ -399,6 +399,11 @@ main() {
|
|||||||
ebuild-commit)
|
ebuild-commit)
|
||||||
check_for_changes || die 'No changes found to commit.'
|
check_for_changes || die 'No changes found to commit.'
|
||||||
|
|
||||||
|
if [ -z "${noupdate}" ]; then
|
||||||
|
sayv "Updating the repository..."
|
||||||
|
vcs_update
|
||||||
|
fi
|
||||||
|
|
||||||
# With DVCS repos, we do not do ChangeLogs by default...
|
# With DVCS repos, we do not do ChangeLogs by default...
|
||||||
# ...at least unless they're already there.
|
# ...at least unless they're already there.
|
||||||
if [ ${SC_VCS#git-} = svn -o ${SC_VCS} = cvs -o -f ChangeLog ]; then
|
if [ ${SC_VCS#git-} = svn -o ${SC_VCS} = cvs -o -f ChangeLog ]; then
|
||||||
@ -443,11 +448,6 @@ main() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${noupdate}" ]; then
|
|
||||||
sayv "Updating the repository..."
|
|
||||||
vcs_update
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ${SC_VCS} != cvs -o -n "${noupdate}" ]; then
|
if [ ${SC_VCS} != cvs -o -n "${noupdate}" ]; then
|
||||||
vcs_status
|
vcs_status
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user