Loading
#openttdcoop - Paste
Archives
Trending
Docs
Login
ABAP
ActionScript
ActionScript 3
Ada
AIMMS3
ALGOL 68
Apache configuration
AppleScript
Apt sources
ARM ASSEMBLER
ASM
ASP
asymptote
Autoconf
Autohotkey
AutoIt
AviSynth
awk
BASCOM AVR
Bash
Basic4GL
BibTeX
BlitzBasic
bnf
Boo
Brainfuck
C
C#
C (LoadRunner)
C (Mac)
C (WinAPI)
C++
C++ (Qt)
C++ (WinAPI)
CAD DCL
CAD Lisp
CFDG
ChaiScript
Chapel
CIL
Clojure
CMake
COBOL
CoffeeScript
ColdFusion
CSS
Cuesheet
D
Dart
DCL
DCPU-16 Assembly
DCS
Delphi
Diff
DIV
DOS
dot
E
ECMAScript
Eiffel
eMail (mbox)
EPC
Erlang
Euphoria
EZT
F#
Falcon
FO (abas-ERP)
Formula One
Fortran
FreeBasic
FreeSWITCH
GADV 4CS
GAMBAS
GDB
genero
Genie
glSlang
GML
GNU/Octave
GNU Gettext
GNU make
Gnuplot
Go
Groovy
GwBasic
Haskell
Haxe
HicEst
HQ9+
HTML
HTML5
Icon
INI
Inno
INTERCAL
Io
ISPF Panel
J
Java
Java(TM) 2 Platform Standard Edition 5.0
Javascript
JCL
jQuery
KiXtart
KLone C
KLone C++
LaTeX
LDIF
Liberty BASIC
Lisp
LLVM Intermediate Representation
Locomotive Basic
Logtalk
LOLcode
Lotus Notes @Formulas
LotusScript
LScript
LSL2
Lua
MagikSF
MapBasic
Matlab M
Microchip Assembler
Microsoft Registry
mIRC Scripting
MMIX
Modula-2
Modula-3
MOS 6502 (6510) ACME Cross Assembler format
MOS 6502 (6510) Kick Assembler format
MOS 6502 (6510) TASM/64TASS 1.46 Assembler format
Motorola 68000 - HiSoft Devpac ST 2 Assembler format
Motorola 68000 Assembler
MXML
MySQL
Nagios
NetRexx
newlisp
nginx
Nimrod
NML NewGRF Meta Language
NSIS
Oberon-2
Objeck Programming Language
Objective-C
OCaml
OCaml (brief)
ooRexx
OpenBSD Packet Filter
OpenOffice.org Basic
Oracle 8 SQL
Oracle 11 SQL
Oxygene
OZ
ParaSail
PARI/GP
Pascal
PCRE
per
Perl
Perl 6
PHP
PHP (brief)
PIC16
Pike
Pixel Bender 1.0
PL/I
PL/SQL
PostgreSQL
PostScript
POVRAY
PowerBuilder
PowerShell
ProFTPd configuration
Progress
Prolog
PROPERTIES
ProvideX
Puppet
PureBasic
Python
Python for S60
q/kdb+
QBasic/QuickBASIC
QML
R / S+
Racket
Rails
RBScript
REBOL
rexx
robots.txt
RPM Specification File
Ruby
Rust
SAS
Scala
Scheme
SciLab
SCL
sdlBasic
Smalltalk
Smarty
SPARK
SPARQL
SQL
Squirrel Script
Squirrel Script with OpenTTD AI/GS
StandardML
StoneScript
SystemVerilog
T-SQL
TCL
Tera Term Macro
Text
thinBasic
TypoScript
Unicon (Unified Extended Dialect of Icon)
Uno Idl
Unreal Script
UPC
Urbi
Vala
vb.net
VBScript
Vedit macro language
Verilog
VHDL
Vim Script
Visual Basic
Visual Fox Pro
Visual Prolog
Whitespace
Whois (RPSL format)
Winbatch
X++
XBasic
XML
Xorg configuration
YAML
ZiLOG Z80 Assembler
ZXBasic
ingo@aeolus:~/tmp$ cd test ingo@aeolus:~/tmp/test$ # Pastebin Y3H27Eql ingo@aeolus:~/tmp/test$ hg init mq-test ingo@aeolus:~/tmp/test$ hg init --mq mq-test ingo@aeolus:~/tmp/test$ cd mq-test ingo@aeolus:~/tmp/test/mq-test$ echo foo1 > foo1 ingo@aeolus:~/tmp/test/mq-test$ hg add foo1 ingo@aeolus:~/tmp/test/mq-test$ hg qnew test ingo@aeolus:~/tmp/test/mq-test$ hg ci --mq -m "add foo1" ingo@aeolus:~/tmp/test/mq-test$ echo foo2 > foo2 ingo@aeolus:~/tmp/test/mq-test$ hg add foo2 ingo@aeolus:~/tmp/test/mq-test$ hg qref ingo@aeolus:~/tmp/test/mq-test$ hg ci --mq -m "add foo2" ingo@aeolus:~/tmp/test/mq-test$ hg rm foo1 ingo@aeolus:~/tmp/test/mq-test$ hg mv foo2 foo1 ingo@aeolus:~/tmp/test/mq-test$ hg forget foo2 ingo@aeolus:~/tmp/test/mq-test$ hg revert foo2 ingo@aeolus:~/tmp/test/mq-test$ hg revert foo1 ingo@aeolus:~/tmp/test/mq-test$ hg glog -l5 @ 0:a2d42532e525 qbase qtip test tip 2014-11-18 19:30 +0100 (planetmaker) [mq]: test ingo@aeolus:~/tmp/test/mq-test$ ls .hg/patches/ series status test ingo@aeolus:~/tmp/test/mq-test$ cat .hg/patches/series test ingo@aeolus:~/tmp/test/mq-test$ cat .hg/patches/series/te^C ingo@aeolus:~/tmp/test/mq-test$ hg export tip # HG changeset patch # User planetmaker <planetmaker@openttd.org> # Date 1416335402 -3600 # Tue Nov 18 19:30:02 2014 +0100 # Node ID a2d42532e525234b425a590f6ae1347b78927b4f # Parent 0000000000000000000000000000000000000000 [mq]: test diff --git a/foo1 b/foo1 new file mode 100644 --- /dev/null +++ b/foo1 @@ -0,0 +1,1 @@ +foo1 diff --git a/foo2 b/foo2 new file mode 100644 --- /dev/null +++ b/foo2 @@ -0,0 +1,1 @@ +foo2 ingo@aeolus:~/tmp/test/mq-test$ cat .hg/patches/test # HG changeset patch # Parent 0000000000000000000000000000000000000000 diff --git a/foo1 b/foo1 new file mode 100644 --- /dev/null +++ b/foo1 @@ -0,0 +1,1 @@ +foo1 diff --git a/foo2 b/foo2 new file mode 100644 --- /dev/null +++ b/foo2 @@ -0,0 +1,1 @@ +foo2 ingo@aeolus:~/tmp/test/mq-test$ hg export -r. > tmp.diff ingo@aeolus:~/tmp/test/mq-test$ diff tmp.diff .hg/patches/test 2,5d1 < # User planetmaker <planetmaker@openttd.org> < # Date 1416335402 -3600 < # Tue Nov 18 19:30:02 2014 +0100 < # Node ID a2d42532e525234b425a590f6ae1347b78927b4f 7d2 < [mq]: test
Mark as private
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
forever