diff options
author | Bogdano Arendartchuk <bogdano@mandriva.org> | 2007-05-03 21:03:27 +0000 |
---|---|---|
committer | Bogdano Arendartchuk <bogdano@mandriva.org> | 2007-05-03 21:03:27 +0000 |
commit | 928b0bed6fff9a002fcd10533fd1fa464e1bc10b (patch) | |
tree | 4341cb184f0d27e846b730ead9c94a9ebe38bf47 /RepSys/svn.py | |
parent | 023b84f8f91df6f3062ff2992d1ebe3e94254532 (diff) | |
download | mgarepo-928b0bed6fff9a002fcd10533fd1fa464e1bc10b.tar mgarepo-928b0bed6fff9a002fcd10533fd1fa464e1bc10b.tar.gz mgarepo-928b0bed6fff9a002fcd10533fd1fa464e1bc10b.tar.bz2 mgarepo-928b0bed6fff9a002fcd10533fd1fa464e1bc10b.tar.xz mgarepo-928b0bed6fff9a002fcd10533fd1fa464e1bc10b.zip |
Added one cheap copy of the sync subcommand from mdvsys.
It required two sensitive changes:
- in order to parse the spec file, "rpm" module was used, so this is the
brand new package dependency; and
- as RepSys already had one "rpm" module, we had to rename it to
"simplerpm" in order to allow access to the module from python-rpm (I
think py2.4 is still used a lot so we can't use absolute imports)
Diffstat (limited to 'RepSys/svn.py')
-rw-r--r-- | RepSys/svn.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/RepSys/svn.py b/RepSys/svn.py index a13db8b..b4ad4e9 100644 --- a/RepSys/svn.py +++ b/RepSys/svn.py @@ -187,6 +187,8 @@ class SVN: cmd = ["status", path] if kwargs.get("verbose"): cmd.append("-v") + if kwargs.get("noignore"): + cmd.append("--no-ignore") status, output = self._execsvn(*cmd, **kwargs) if status == 0: return [x.split() for x in output.splitlines()] |