[arch-projects] [devtools] [PATCH] archrelease: Copy new files from trunk

Lukas Fleischer archlinux at cryptocrack.de
Sun Aug 21 08:10:39 EDT 2011


On Sun, Aug 21, 2011 at 03:15:01AM +0200, Lukas Fleischer wrote:
> On Sun, Aug 21, 2011 at 01:19:10AM +0200, Lukas Fleischer wrote:
> > Currently, files that have just been added to trunk are not copied to
> > the repositories when invoking archrelease, as `svn ls` does not list
> > them if we don't `svn update` explicitly before. Use `svn ls -r HEAD` to
> > include everything from current HEAD. Fixes FS#25680.
> > 
> > Reported-by: Eric Bélanger <snowmaniscool at gmail.com>
> > Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
> > ---
> > Pierre, note that this one is based on my recent refactoring patches.
> > You should push them before pushing this one. Let me know if you don't
> > plan to do so and I'll rebase this one :)
> > 
> > Oh, and by the way: SVN sucks :)
> > 
> >  archrelease |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/archrelease b/archrelease
> > index 287c5e7..2ca0b95 100755
> > --- a/archrelease
> > +++ b/archrelease
> > @@ -30,7 +30,7 @@ if [[ $(svn status -q) ]]; then
> >  fi
> >  
> >  pushd .. >/dev/null
> > -IFS=$'\n' read -r -d '' -a known_files < <(svn ls "trunk")
> > +IFS=$'\n' read -r -d '' -a known_files < <(svn ls -r HEAD "trunk")
> 
> Oh, and maybe we should also use "-r HEAD" with the `svn copy`
> invocations. Didn't test yet. Just a thought.

Oh, we already do... Patch should be fine :)


More information about the arch-projects mailing list