vissetr.blogg.se

Hg unshelve on tortoisehg
Hg unshelve on tortoisehg






  1. #Hg unshelve on tortoisehg mac os#
  2. #Hg unshelve on tortoisehg software#
  3. #Hg unshelve on tortoisehg windows#

#Hg unshelve on tortoisehg mac os#

The thg script and TortoiseHg dialogs can be used on any platform that supports PyQt, including Mac OS X.

#Hg unshelve on tortoisehg windows#

TortoiseHg is primarily written in Python and PyQt (the Windows shell extension being the notable exception). TortoiseHg binary packages list Mercurial as a dependency, so it is usually installed for you automatically. You must have Mercurial installed separately in order to run TortoiseHg on Linux. TortoiseHg consists of a command line thg script and a Nautilus extension which provides overlays and context menus in your file explorer. Binary packages of TortoiseHg for Windows include Mercurial, TortoisePlink and a merge tool and are thus completely ready for use “Out of the Box”. TortoiseHg consists of a shell extension, which provides overlay icons and context menus in your file explorer, and a command line program named thg.exe which can launch the TortoiseHg tools. TortoiseHg I think the old website ( ) was not yet migrated, so linking to the new repo seems best for now, to not make people think the project is dead is a set of graphical tools and a shell extension for Mercurial. special () or len ( h ) > 1 ], ) def refilterpatch ( allchunk, selected ): ''' return unshelved chunks of files to be shelved ''' l = fil = for c in allchunk : if isinstance ( c, header ): if len ( l ) > 1 and l in selected : fil += l l = elif c not in selected : l.

hg unshelve on tortoisehg

append ( chunk ) else : fixoffset += chunk. filename ()) if r = 'y' : if fixoffset : chunk = copy. pretty ( ui ) r = prompt ( _ ( 'shelve this change to %r ?' ) % chunk. allhunks (): applied += consumefile () else : consumefile () else : if resp_file is None and resp_all is None : chunk. files ()))) if r = 'y' : applied = if chunk. pretty ( ui ) r = prompt ( _ ( 'shelve changes to %s ?' ) % _ ( ' and ' ). header ) if hdr in seen : consumefile () continue seen = True if resp_all is None : chunk.

hg unshelve on tortoisehg

pop () if isinstance ( chunk, header ): resp_file = fixoffset = 0 hdr = ''. Abort ( _ ( 'user quit' )) return r while chunks : chunk = chunks. strip ()), ' \n ' ) continue elif r = 's' : r = resp_file = 'n' elif r = 'f' : r = resp_file = 'y' elif r = 'd' : r = resp_all = 'n' elif r = 'a' : r = resp_all = 'y' elif r = 'q' : raise util. find ( 'y - shelve this change' ) for l in shelve.

hg unshelve on tortoisehg

compile ( -(\d+),(\d+) \+(\d+),(\d+) ) def internalpatch ( patchobj, ui, strip, cwd, files = def prompt ( query ): if resp_all is not None : return resp_all if resp_file is not None : return resp_file while True : r = ( ui.

hg unshelve on tortoisehg

'''interactive change selection to set aside that may be restored later''' import copy import cStringIO import errno import operator import os import re import shutil import tempfile from mercurial import cmdutil, commands, cmdutil, hg, mdiff, patch, revlog from mercurial import util, fancyopts from 18n import _ from tortoisehg.util import hglib lines_re = re.

#Hg unshelve on tortoisehg software#

# hgshelve.py - TortoiseHg dialog to initialize a repo # Copyright 2007 Bryan O'Sullivan # Copyright 2007 TK Soh # Copyright 2009 Steve Borho # This software may be used and distributed according to the terms of the # GNU General Public License version 2, incorporated herein by reference.








Hg unshelve on tortoisehg