From owner-freebsd-current@freebsd.org Sun Jan 10 01:42:37 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C7F364E9276 for ; Sun, 10 Jan 2021 01:42:37 +0000 (UTC) (envelope-from rollingbits@gmail.com) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DD02h6T5lz4lNS for ; Sun, 10 Jan 2021 01:42:36 +0000 (UTC) (envelope-from rollingbits@gmail.com) Received: by mail-qt1-x833.google.com with SMTP id u21so9139393qtw.11 for ; Sat, 09 Jan 2021 17:42:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=k2ewurt3zMXahAdX9vXBMmq/i89Mtv0GTCbq3DAgTK8=; b=ddR0PEqRTNUBgYTsq6eBQHkQLA++wvNp9ZQZbxueLdL0FzCn/VkJQU5DYJjQKRlNe1 xntq2kEaPwUEJbf0ebFTH/vVPBJP2itutLB4voe1jw0Qrs5s9BajDGvJce5awtxzf92I si3JZL4vGmdydLLHjmYoK8Nl8c9l3AyEcjS9r2X0Li9DWvEBezy3l62lA7mb0KXU57tp qhwB91QbYt7IriODoWUtWSEUFABVEJL8GXNwnCKurVBX91QgApXNFY7eC+bVDtEHKvv8 R2OplIwMfBYKIml6y5OOt7yp0rvj67dtZxudk30rXCV6mrNVXodZOWZ2FJVcRiCHxnh8 nuxw== X-Gm-Message-State: AOAM532uR/3o+nUkQoO+Jnn5Mg759AYSRO4BlyKoiR3lHA2Pw7NKxR1h v5m4d3l3XljZjGMLGBuBcXzh2Wn/Dj8= X-Google-Smtp-Source: ABdhPJw8kRGuW7iQ6pC3V7vw1qxo0NpXMfsuLK1rXg3CByfuiu4zlAf8y2mV7UdkXBWY6hZzUfWgHA== X-Received: by 2002:ac8:7c8e:: with SMTP id y14mr9589111qtv.161.1610242955321; Sat, 09 Jan 2021 17:42:35 -0800 (PST) Received: from ?IPv6:2804:389:204a:54a8:d151:ea0f:de14:5034? ([2804:389:204a:54a8:d151:ea0f:de14:5034]) by smtp.gmail.com with ESMTPSA id f134sm6746315qke.23.2021.01.09.17.42.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 09 Jan 2021 17:42:34 -0800 (PST) From: =?utf-8?Q?Lucas_Nali_de_Magalh=C3=A3es?= Mime-Version: 1.0 (1.0) Subject: Re: src: continued use of Subversion for getting updates Date: Sat, 9 Jan 2021 22:42:31 -0300 Message-Id: References: <20210109102356.7745a48a@Ace.nina.org> Cc: freebsd-current@freebsd.org In-Reply-To: <20210109102356.7745a48a@Ace.nina.org> To: Frank Seltzer X-Mailer: iPhone Mail (18C66) X-Rspamd-Queue-Id: 4DD02h6T5lz4lNS X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[bellsouth.net]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::833:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::833:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::833:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 01:42:37 -0000 > On Jan 9, 2021, at 12:24 PM, Frank Seltzer wrote: >=20 > =EF=BB=BFOn Sat, 2 Jan 2021 23:00:35 -0700 > Warner Losh wrote: >=20 >> That would. I'll make sure something is written up, but it should exactly= >> like before. >=20 > Is there a cookbook guide to converting to git from svn for people who jus= t > want to checkout source to buildworld and keep the ports tree up to date? Hi. There is a few good references in this thread already but I was looking for t= he same info=E2=80=A6 I did the old way I knew. The git man page gives a starting point in full details and includes the ref= erences to gittutorial, gittutorial-2 and gitworkflows man pages. =46rom an inexistent /usr/src, first get the sources: cd /usr git clone src Then switch to the desired branch: git checkout To update, first switch to head again (you will have to deal with your modif= ications in some way): git checkout main Then update: git pull I omitted all the details and many useful options. Ideally, a distributed VC= S like git lets you work and save your modifications in your own branch. --=20 rollingbits =E2=80=94 =F0=9F=93=A7 rollingbits@icloud.com =F0=9F=93=A7 rolli= ngbits@gmail.com =F0=9F=93=A7 rollingbits@yahoo.com =F0=9F=93=A7 rollingbits= @terra.com.br =F0=9F=93=A7 rollingbits@globo.com