Package: myrepos
Version: 1.20180726
Followup-For: Bug #947366
I ended up creating a library function like:
```
git_update () {
CURRENT_BRANCH=`git branch --show-current` &&
{ git fetch || true; } &&
{ for branch in `git for-each-ref --format="%(refname:lstrip=2)"
refs/heads` ; do git checkout $branch ; git pull ; done || true; } &&
{ git checkout $CURRENT_BRANCH || true; }
}
```
and configure the repositories like:
```
[repo_name]
update = git_update repo_name
skip = lazy
```
it's a bit hack-y, but it does the work well; it would still be great if it was
native in `mr`
-- System Information:
Debian Release: 10.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1,
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages myrepos depends on:
ii perl 5.30.0-8
Versions of packages myrepos recommends:
ii libfile-homedir-perl 1.004-1
ii libhtml-parser-perl 3.72-3+b4
ii libio-pty-easy-perl 0.10-1
ii libwww-perl 6.36-2
Versions of packages myrepos suggests:
pn ack | ack-grep <none>
pn bzr <none>
ii curl 7.64.0-4
pn cvs <none>
pn darcs <none>
pn dgit <none>
pn fossil <none>
ii git [git-core] 1:2.24.1-1
ii git-annex 7.20190129-3
pn git-big-picture <none>
pn git-svn <none>
ii gitk 1:2.24.1-1
pn kdesdk-scripts <none>
ii liburi-perl 1.76-1
ii mercurial 5.1-4
ii perl-doc 5.30.0-8
pn stow <none>
ii subversion 1.10.6-1
pn subversion-tools <none>
pn unison <none>
pn vcsh <none>
ii xdg-utils 1.1.3-1
-- no debconf information