hgsubversion | 13 May 00:10 2015

6 new revisions pushed by durin42 on 2015-05-12 22:10 GMT

6 new revisions:

Revision: 72fe317a7b94
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:56 2014 UTC
Log:      svnmeta: add functionality for configitems in _get_cachedconfig
https://code.google.com/p/hgsubversion/source/detail?r=72fe317a7b94

Revision: 118e6d31b5fc
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:56 2014 UTC
Log:      layouts: generate cached property for custom branches
https://code.google.com/p/hgsubversion/source/detail?r=118e6d31b5fc

Revision: 4cb76904c001
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:56 2014 UTC
Log:      subvertpy_wrapper: add a member to store reference to meta object
https://code.google.com/p/hgsubversion/source/detail?r=4cb76904c001

Revision: 2fb0f3c377c9
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:56 2014 UTC
Log:      svn_swig_wrapper: add a member to store reference to meta object
https://code.google.com/p/hgsubversion/source/detail?r=2fb0f3c377c9

(Continue reading)

Sean Farley | 8 May 20:46 2015

[PATCH 1 of 6] svnmeta: add functionality for configitems in _get_cachedconfig

# HG changeset patch
# User Sean Farley <sean.michael.farley@...>
# Date 1395678056 18000
#      Mon Mar 24 11:20:56 2014 -0500
# Node ID 6ac6eed344a8b2596d15ed63314e1dc0ad8236f8
# Parent  15c313b6056709b82ab11d80de3f02b89a268577
svnmeta: add functionality for configitems in _get_cachedconfig

diff --git a/hgsubversion/svnmeta.py b/hgsubversion/svnmeta.py
--- a/hgsubversion/svnmeta.py
+++ b/hgsubversion/svnmeta.py
 <at>  <at>  -92,10 +92,12  <at>  <at>  class SVNMeta(object):
                     c = self.ui.configbool('hgsubversion', configname, default)
                 elif isinstance(default, int):
                     c = self.ui.configint('hgsubversion', configname, default)
                 elif isinstance(default, list):
                     c = self.ui.configlist('hgsubversion', configname, default)
+                elif isinstance(default, dict):
+                    c = dict(self.ui.configitems(configname))
                 else:
                     c = self.ui.config('hgsubversion', configname, default)

             # load the value from disk
             val = util.load(f, default=default)

--

-- 
You received this message because you are subscribed to the Google Groups "hgsubversion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hgsubversion+unsubscribe@...
To post to this group, send email to hgsubversion@...
Visit this group at http://groups.google.com/group/hgsubversion.
(Continue reading)

hgsubversion | 8 May 20:11 2015

push by durin42 - Merge stable back into default. on 2015-05-08 18:11 GMT

Revision: 15c313b60567
Branch:   default
Author:   Augie Fackler <raf@...>
Date:     Fri May  8 18:11:14 2015 UTC
Log:      Merge stable back into default.
https://code.google.com/p/hgsubversion/source/detail?r=15c313b60567

--

-- 
You received this message because you are subscribed to the Google Groups "hgsubversion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hgsubversion+unsubscribe@...
To post to this group, send email to hgsubversion@...
Visit this group at http://groups.google.com/group/hgsubversion.
For more options, visit https://groups.google.com/d/optout.

hgsubversion | 7 May 21:06 2015

3 new revisions pushed by durin42 on 2015-05-07 19:05 GMT

3 new revisions:

Revision: 6fd0ec01553b
Branch:   stable
Author:   Augie Fackler <raf@...>
Date:     Tue May  5 18:09:43 2015 UTC
Log:      Merge to stable for release.
https://code.google.com/p/hgsubversion/source/detail?r=6fd0ec01553b

Revision: dde1ade36a49
Branch:   stable
Author:   Andrei Dziahel <develop7@...>
Date:     Thu May  7 08:46:09 2015 UTC
Log:      fixes indent for hgsubversionbranch section in extension help
https://code.google.com/p/hgsubversion/source/detail?r=dde1ade36a49

Revision: 82803ec84c82
Branch:   stable
Author:   Augie Fackler <raf@...>
Date:     Thu May  7 19:03:12 2015 UTC
Log:      Added tag 1.8.1 for changeset dde1ade36a49
https://code.google.com/p/hgsubversion/source/detail?r=82803ec84c82

==============================================================================
Revision: 6fd0ec01553b
Branch:   stable
Author:   Augie Fackler <raf@...>
Date:     Tue May  5 18:09:43 2015 UTC
Log:      Merge to stable for release.
https://code.google.com/p/hgsubversion/source/detail?r=6fd0ec01553b
(Continue reading)

hgsubversion | 13 Apr 19:24 2015

push by durin42 - add minimum methods for matcher... on 2015-04-13 17:24 GMT

Revision: fd3461f86582
Branch:   default
Author:   Shun-ichi GOTO <shunichi.goto@...>
Date:     Mon Apr 13 13:24:41 2015 UTC
Log:      add minimum methods for matcher

By changeset 24820:5693c834bcb4 in mercurial crew, it become that matcher
object need to implement some common methods, bad(), always(), iseact()
and anypats(). So the PrefixMatch class should be implement them.
https://code.google.com/p/hgsubversion/source/detail?r=fd3461f86582

Modified:
  /hgsubversion/util.py

--

-- 
You received this message because you are subscribed to the Google Groups "hgsubversion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hgsubversion+unsubscribe@...
To post to this group, send email to hgsubversion@...
Visit this group at http://groups.google.com/group/hgsubversion.
For more options, visit https://groups.google.com/d/optout.

Shun-ichi Goto | 13 Apr 15:24 2015
Picon

[PATCH] add minimum methods for matcher

# HG changeset patch
# User Shun-ichi GOTO <shunichi.goto@...>
# Date 1428931481 -32400
#      Mon Apr 13 22:24:41 2015 +0900
# Node ID fd3461f865826f682202fe199715bd343266630a
# Parent  a36e87ae23805ad4f636f6b0cdb5b735603bd98a
add minimum methods for matcher

By changeset 24820:5693c834bcb4 in mercurial crew, it become that matcher
object need to implement some common methods, bad(), always(), iseact()
and anypats(). So the PrefixMatch class should be implement them.

diff -r a36e87ae2380 -r fd3461f86582 hgsubversion/util.py
--- a/hgsubversion/util.py	Fri Mar 27 16:44:05 2015 -0700
+++ b/hgsubversion/util.py	Mon Apr 13 22:24:41 2015 +0900
 <at>  <at>  -215,6 +215,18  <at>  <at> 
     def __call__(self, fn):
         return fn.startswith(self.p)

+    def bad(self, f, msg):
+        pass
+
+    def always(self):
+        return False
+
+    def isexact(self):
+        return False
+
+    def anypats(self):
+        return True
(Continue reading)

François Dinel | 5 Apr 21:35 2015
Picon

Crash when cloning SVN tag with "replaced" items, works for branches...

Hi, I found a subversion repository that crashes hgsubversion.

I tried to isolate the bug and came up with a small repository dump that
reproduces the problem. It seems that hgsubversion is able to clone a
repository where some items are "replaced" (svn term...) whereas the
same type of operation crashes hgsubversion for tags.

If I comment out lines 431 to 433 in hgsubversion/editor.py, it won't
crash anymore. But I'm not sure if it can cause problems somewhere else...

Here is a dump illustrating the bug. I'll be happy to help if I can!

Cheers

--

-- 
You received this message because you are subscribed to the Google Groups "hgsubversion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hgsubversion+unsubscribe@...
To post to this group, send email to hgsubversion@...
Visit this group at http://groups.google.com/group/hgsubversion.
For more options, visit https://groups.google.com/d/optout.
SVN-fs-dump-format-version: 2

UUID: e91943cf-f56a-7142-9512-086bf4aedaad

Revision-number: 0
Prop-content-length: 56
Content-length: 56

(Continue reading)

hgsubversion | 30 Mar 14:21 2015

2 new revisions pushed by durin42 on 2015-03-30 12:21 GMT

2 new revisions:

Revision: 2061fd988f3f
Branch:   default
Author:   Siddharth Agarwal <sid0@...>
Date:     Fri Mar 27 23:42:50 2015 UTC
Log:      stupid: adapt to Mercurial 3.4 changes...
https://code.google.com/p/hgsubversion/source/detail?r=2061fd988f3f

Revision: a36e87ae2380
Branch:   default
Author:   Siddharth Agarwal <sid0@...>
Date:     Fri Mar 27 23:44:05 2015 UTC
Log:      tests: always compare manifest keys in sorted order...
https://code.google.com/p/hgsubversion/source/detail?r=a36e87ae2380

==============================================================================
Revision: 2061fd988f3f
Branch:   default
Author:   Siddharth Agarwal <sid0@...>
Date:     Fri Mar 27 23:42:50 2015 UTC
Log:      stupid: adapt to Mercurial 3.4 changes

Straightforward API change.
https://code.google.com/p/hgsubversion/source/detail?r=2061fd988f3f

Modified:
  /hgsubversion/stupid.py

==============================================================================
(Continue reading)

Siddharth Agarwal | 28 Mar 01:02 2015

[PATCH 1 of 2] stupid: adapt to Mercurial 3.4 changes

# HG changeset patch
# User Siddharth Agarwal <sid0@...>
# Date 1427499770 25200
#      Fri Mar 27 16:42:50 2015 -0700
# Node ID 2061fd988f3fccdcfc9b241534ab94afe86321ad
# Parent  43a365f5d13cf48776ca830023cb9770303a3e78
stupid: adapt to Mercurial 3.4 changes

Straightforward API change.

diff --git a/hgsubversion/stupid.py b/hgsubversion/stupid.py
--- a/hgsubversion/stupid.py
+++ b/hgsubversion/stupid.py
 <at>  <at>  -194,7 +194,12  <at>  <at> 
         backend = svnbackend(ui, meta.repo, parentctx, store)

         try:
-            ret = patch.patchbackend(ui, backend, patchfp, 0, touched)
+            try:
+                ret = patch.patchbackend(ui, backend, patchfp, 0, files=touched)
+            except TypeError:
+                # Mercurial >= 3.4 have an extra prefix parameter
+                ret = patch.patchbackend(ui, backend, patchfp, 0, '',
+                                         files=touched)
             if ret < 0:
                 raise BadPatchApply('patching failed')
             if ret > 0:

--

-- 
You received this message because you are subscribed to the Google Groups "hgsubversion" group.
(Continue reading)

hgsubversion | 7 Mar 18:39 2015

push by durin42 - Allow changing the path to the trunk on 2015-03-07 17:39 GMT

Revision: 43a365f5d13c
Branch:   default
Author:   Francois Dinel <fdinel@...>
Date:     Fri Feb 20 18:13:03 2015 UTC
Log:      Allow changing the path to the trunk
https://code.google.com/p/hgsubversion/source/detail?r=43a365f5d13c

Modified:
  /hgsubversion/__init__.py
  /hgsubversion/layouts/standard.py
  /hgsubversion/wrappers.py

--

-- 
You received this message because you are subscribed to the Google Groups "hgsubversion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hgsubversion+unsubscribe@...
To post to this group, send email to hgsubversion@...
Visit this group at http://groups.google.com/group/hgsubversion.
For more options, visit https://groups.google.com/d/optout.

François Dinel | 23 Feb 02:57 2015
Picon

[patch] Support custom "trunk" path

# HG changeset patch
# User Francois Dinel
# Date 1424455983 18000
#      Fri Feb 20 13:13:03 2015 -0500
# Branch stable
# Node ID c5c6470939aae282ab6e4611ba991f4c1f4e0f26
# Parent  b13f320ff4e3af4ea4813185275a4a618d74130d
Allow changing the path to the trunk

diff -r b13f320ff4e3 -r c5c6470939aa hgsubversion/__init__.py
--- a/hgsubversion/__init__.py Fri Jan 30 10:59:13 2015 -0500
+++ b/hgsubversion/__init__.py Fri Feb 20 13:13:03 2015 -0500
<at> <at> -77,6 +77,8 <at> <at>
          'list of paths to search for tags in Subversion repositories'),
         ('', 'branchdir', '',
          'path to search for branches in subversion repositories'),
+        ('', 'trunkdir', '',
+         'path to trunk in subversion repositories'),
         ('', 'infix', '',
          'path relative to trunk, branch an tag dirs to import'),
         ('A', 'authors', '',
diff -r b13f320ff4e3 -r c5c6470939aa hgsubversion/layouts/standard.py
--- a/hgsubversion/layouts/standard.py Fri Jan 30 10:59:13 2015 -0500
+++ b/hgsubversion/layouts/standard.py Fri Feb 20 13:13:03 2015 -0500
<at> <at> -28,10 +28,11 <at> <at>
         # the lambda is to ensure nested paths are handled properly
         meta._gen_cachedconfig('taglocations', ['tags'], 'tag_locations',
                                'tagpaths', lambda x: list(reversed(sorted(x))))
+        meta._gen_cachedconfig('trunkdir', 'trunk', 'trunk_dir')
 
      <at> property
     def trunk(self):
-        return 'trunk' + self.meta.infix
+        return self.meta.trunkdir + self.meta.infix
 
     def localname(self, path):
         if path == self.trunk:
<at> <at> -98,7 +99,7 <at> <at>
         if self.localname(candidate) in known_branches:
             return candidate, '/'.join(components)
 
-        if path == 'trunk' or path.startswith('trunk/'):
+        if path == self.meta.trunkdir or path.startswith(self.meta.trunkdir + '/'):
             return self.trunk, path[len(self.trunk) + 1:]
 
         if path.startswith(self.meta.branchdir):
diff -r b13f320ff4e3 -r c5c6470939aa hgsubversion/wrappers.py
--- a/hgsubversion/wrappers.py Fri Jan 30 10:59:13 2015 -0500
+++ b/hgsubversion/wrappers.py Fri Feb 20 13:13:03 2015 -0500
<at> <at> -593,6 +593,7 <at> <at>
     'tagpaths': ('hgsubversion', 'tagpaths'),
     'authors': ('hgsubversion', 'authormap'),
     'branchdir': ('hgsubversion', 'branchdir'),
+    'trunkdir': ('hgsubversion', 'trunkdir'),
     'infix': ('hgsubversion', 'infix'),
     'filemap': ('hgsubversion', 'filemap'),
     'branchmap': ('hgsubversion', 'branchmap'),

--
You received this message because you are subscribed to the Google Groups "hgsubversion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hgsubversion+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to hgsubversion-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/hgsubversion.
For more options, visit https://groups.google.com/d/optout.

Gmane