-
大小: 73.85MB文件类型: .zip金币: 2下载: 1 次发布日期: 2022-09-14
- 语言: 其他
- 标签: git sourcetree
资源简介
最新的sourcetree 3.0.1,搬运到国内来了。大家有需要的可以下载。
代码片段和文件信息
# demandimport.py - global demand-loading of modules for Mercurial
#
# Copyright 2006 2007 Matt Mackall
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
‘‘‘
demandimport - automatic demandloading of modules
To enable this module do:
import demandimport; demandimport.enable()
Imports of the following forms will be demand-loaded:
import a b.c
import a.b as c
from a import bc # a will be loaded immediately
These imports will not be delayed:
from a import *
b = __import__(a)
‘‘‘
from __future__ import absolute_import
import __builtin__ as builtins
import contextlib
import sys
contextmanager = contextlib.contextmanager
_origimport = __import__
nothing = object()
def _hgextimport(importfunc name globals *args **kwargs):
try:
return importfunc(name globals *args **kwargs)
except ImportError:
if not globals:
raise
# extensions are loaded with “hgext_“ prefix
hgextname = ‘hgext_%s‘ % name
nameroot = hgextname.split(‘.‘ 1)[0]
contextroot = globals.get(‘__name__‘ ‘‘).split(‘.‘ 1)[0]
if nameroot != contextroot:
raise
# retry to import with “hgext_“ prefix
return importfunc(hgextname globals *args **kwargs)
class _demandmod(object):
“““module demand-loader and proxy
Specify 1 as ‘level‘ argument at construction to import module
relatively.
“““
def __init__(self name globals locals level):
if ‘.‘ in name:
head rest = name.split(‘.‘ 1)
after = [rest]
else:
head = name
after = []
object.__setattr__(self r“_data“
(head globals locals after level set()))
object.__setattr__(self r“_module“ None)
def _extend(self name):
“““add to the list of submodules to load“““
self._data[3].append(name)
def _addref(self name):
“““Record that the named module ‘‘name‘‘ imports this module.
References to this proxy class having the name of this module will be
replaced at module load time. We assume the symbol inside the importing
module is identical to the “head“ name of this module. We don‘t
actually know if “as X“ syntax is being used to change the symbol name
because this information isn‘t exposed to __import__.
“““
self._data[5].add(name)
def _load(self):
if not self._module:
head globals locals after level modrefs = self._data
mod = _hgextimport(_origimport head globals locals None level)
if mod is self:
# In this case _hgextimport() above should imply
# _demandimport(). Otherwise _hgextimport() never
# returns _demandmod. This isn‘t intentional behavior
# in fact. (see al
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-11-08 14:37 Sourcetree.app\
目录 0 2018-11-08 14:37 Sourcetree.app\Contents\
目录 0 2018-11-08 14:37 Sourcetree.app\Contents\_CodeSignature\
文件 807680 2018-11-08 14:37 Sourcetree.app\Contents\_CodeSignature\CodeResources
目录 0 2018-11-08 14:37 Sourcetree.app\Contents\MacOS\
文件 4855904 2018-11-08 14:37 Sourcetree.app\Contents\MacOS\Sourcetree
目录 0 2018-11-08 14:37 Sourcetree.app\Contents\Resources\
目录 0 2018-11-08 14:35 Sourcetree.app\Contents\Resources\de.lproj\
文件 24190 2018-11-08 14:35 Sourcetree.app\Contents\Resources\de.lproj\CreatePatchSheet.nib
文件 27420 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\FileLogWindow.nib
文件 127340 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\LogView.nib
文件 22999 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\AddSubmoduleSheet.nib
文件 14553 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\GitStashSheet.nib
文件 15279 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\DeleteBranchConfirmationDialog.nib
文件 84428 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\NetworkMonitor.nib
文件 19729 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\RevisionFileListView.nib
文件 17718 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\FlowStartSheet.nib
文件 23058 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\MultipleFileLogWindow.nib
文件 22775 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\FlowInitSheet.nib
文件 26001 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\CreatePullRequestSheet.nib
文件 26325 2018-11-08 14:33 Sourcetree.app\Contents\Resources\de.lproj\GitPushSheet.nib
文件 32032 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\NPSPopoverView.nib
文件 18016 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\GitReba
文件 36576 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\MercurialPushSheet.nib
文件 15592 2018-11-08 14:33 Sourcetree.app\Contents\Resources\de.lproj\GitResetBranchSheet.nib
文件 18550 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\IgnoreSheet.nib
文件 12452 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\SSHView.nib
文件 24933 2018-11-08 14:33 Sourcetree.app\Contents\Resources\de.lproj\GitAddEditSubtreeSheet.nib
文件 13988 2018-11-08 14:34 Sourcetree.app\Contents\Resources\de.lproj\UpdateSheet.nib
文件 15551 2018-11-08 14:33 Sourcetree.app\Contents\Resources\de.lproj\MercurialBookmarkSheet.nib
文件 44734 2018-11-08 14:35 Sourcetree.app\Contents\Resources\de.lproj\ApplyPatchSheet.nib
............此处省略2885个文件信息
相关资源
- Git汉化资源
- digital字体
- 64bit.server2008或win10下安装git服务器
- git for windows 汉化包 工具
- Zxing-Code_128一维码
- dell DigitalPersona Personal v4.1.1 官方版
- 基于Nested Logit模型的出行路线方式选
- 西部数据 迅猛龙硬盘 新固件04.04V06
- libgit-platinum.so
- snagit截图工具的大量印章
- 行业数字化转型方法论白皮书2019.pd
- Digital signal processing principlesalgorithms
- git bash 2.19.1 Windows64安装包
- git-2.0.0.tar.gz
- GetDataGraphDigitizer
- Modeling of rapeseed at maturity stage using 3
- 数字预失真设计参考Mixed Signal Digita
- 分布式计算.(美国)HAGIT.ATTIYA.清晰版
- git-sdk-installer-1.0.6-32.7z.exe
- getdatagraphdigitizer破解版
- <数字通信>第四版Proakis英文版 课后答
- Thingsboard入门指南
- Git插件日常使用方法
- 数字集成电路物理设计-陈春章
- GitLab技术分享PPT
- https://github.com/rmtheis/tess-two编译出来的
- GIT最佳实践
- JULIUSO. SMITHIII《INTRODUCTION TO DIGITAL FI
- NFC 协议Analog/Digital/Activity/LLCP
- git-2.2.1.tar.gz
评论
共有 条评论