- # Checks to see if we are in (potentially) split brain mode.
- # If so, computes the cache key and looks in the cache.
- # If split brain is not applicable, returns (undef,0).
- # Otherwise returns ($cachekey,HIT) where
- # HIT=0: miss; HIT=1: hit, needs different commit; HIT=2: same commit OK
-
- quilt_make_fake_dsc($upstreamversion);
-
- return (undef,0) unless quiltmode_splitbrain();
+ # Called only if we are in (potentially) split brain mode.
+ # Called in $ud.
+ # Computes the cache key and looks in the cache.
+ # Returns ($dgit_view_commitid, $cachekey) or (undef, $cachekey)